]> granicus.if.org Git - python/commitdiff
RPC_WSTR is not available Visual Studio 2003 or earlier.
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
Sun, 17 Aug 2008 07:26:26 +0000 (07:26 +0000)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
Sun, 17 Aug 2008 07:26:26 +0000 (07:26 +0000)
(Maybe I should have defined RPC_WSTR on old compiler,
but uuidcreate() is only place using it, so I simply replaced
with unsigned short *)

PC/_msi.c

index 9b852e5b81af333713bdb8c9c2d5a94e9f2b4ed7..f129293bb2cf60dc4bc6d64441ad2b33f83feadb 100644 (file)
--- 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.