summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2008-08-17 07:26:26 (GMT)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2008-08-17 07:26:26 (GMT)
commitab058ed3df646404d8fd4d4efacf1ce46cbaf1b1 (patch)
tree7f90a5d7945a94d31045c1161c59089f30379ebb
parent340a62b9dafa540c9a6d32355f8bcf746f16f702 (diff)
downloadcpython-ab058ed3df646404d8fd4d4efacf1ce46cbaf1b1.zip
cpython-ab058ed3df646404d8fd4d4efacf1ce46cbaf1b1.tar.gz
cpython-ab058ed3df646404d8fd4d4efacf1ce46cbaf1b1.tar.bz2
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 *)
-rw-r--r--PC/_msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/_msi.c b/PC/_msi.c
index 9b852e5..f129293 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.