RPC_WSTR is not available Visual Studio 2003 or earlier.

(Maybe I should have defined RPC_WSTR on old compiler,
but uuidcreate() is only place using it, so I simply replaced
with unsigned short *)
This commit is contained in:
Hirokazu Yamamoto 2008-08-17 07:26:26 +00:00
parent 340a62b9da
commit ab058ed3df
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ static PyObject*
uuidcreate(PyObject* obj, PyObject*args) uuidcreate(PyObject* obj, PyObject*args)
{ {
UUID result; UUID result;
RPC_WSTR cresult; unsigned short *cresult;
PyObject *oresult; PyObject *oresult;
/* May return ok, local only, and no address. /* May return ok, local only, and no address.