[Python-3000-checkins] r65744 - python/branches/py3k/PC/_msi.c

hirokazu.yamamoto python-3000-checkins at python.org
Sun Aug 17 09:26:26 CEST 2008


Author: hirokazu.yamamoto
Date: Sun Aug 17 09:26:26 2008
New Revision: 65744

Log:
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 *)

Modified:
   python/branches/py3k/PC/_msi.c

Modified: python/branches/py3k/PC/_msi.c
==============================================================================
--- python/branches/py3k/PC/_msi.c	(original)
+++ python/branches/py3k/PC/_msi.c	Sun Aug 17 09:26:26 2008
@@ -18,7 +18,7 @@
 uuidcreate(PyObject* obj, PyObject*args)
 {
     UUID result;
-    RPC_WSTR cresult;
+    unsigned short *cresult;
     PyObject *oresult;
     
     /* May return ok, local only, and no address.


More information about the Python-3000-checkins mailing list