Update of /cvsroot/pywin32/pywin32/win32/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10778/win32/src
Modified Files:
PyWinTypes.h
Log Message:
Correct an #ifdef checking for VS8
Index: PyWinTypes.h
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/PyWinTypes.h,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** PyWinTypes.h 24 May 2007 06:01:05 -0000 1.39
--- PyWinTypes.h 24 May 2007 06:54:50 -0000 1.40
***************
*** 163,167 ****
// win32 structures that still use 'unsigned short' now fail from C++ with
// VS8 so we provide a couple of helpers.
! #if PY_VERSION_HEX >= 0x02060000 && _MSC_VER > 1500
inline BOOL PyWinObject_AsWCHAR(PyObject *stringObject, unsigned short **pResult, BOOL bNoneOK = FALSE, DWORD *pResultLen = NULL)
{
--- 163,167 ----
// win32 structures that still use 'unsigned short' now fail from C++ with
// VS8 so we provide a couple of helpers.
! #if _MSC_VER >= 1400
inline BOOL PyWinObject_AsWCHAR(PyObject *stringObject, unsigned short **pResult, BOOL bNoneOK = FALSE, DWORD *pResultLen = NULL)
{
|