From: Hirokazu Yamamoto Date: Sun, 17 Aug 2008 07:26:26 +0000 (+0000) Subject: RPC_WSTR is not available Visual Studio 2003 or earlier. X-Git-Tag: v3.0b3~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab058ed3df646404d8fd4d4efacf1ce46cbaf1b1;p=thirdparty%2FPython%2Fcpython.git 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 *) --- diff --git a/PC/_msi.c b/PC/_msi.c index 9b852e5b81af..f129293bb2cf 100644 --- a/PC/_msi.c +++ b/PC/_msi.c @@ -18,7 +18,7 @@ static PyObject* uuidcreate(PyObject* obj, PyObject*args) { UUID result; - RPC_WSTR cresult; + unsigned short *cresult; PyObject *oresult; /* May return ok, local only, and no address.