[pywin32-checkins] pywin32/win32/src PyACL.cpp,1.10,1.11
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2004-04-03 02:46:31
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4218 Modified Files: PyACL.cpp Log Message: Guard PyACL against build failures with early platform SDK Index: PyACL.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/PyACL.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** PyACL.cpp 30 Mar 2004 04:14:27 -0000 1.10 --- PyACL.cpp 3 Apr 2004 02:34:13 -0000 1.11 *************** *** 214,217 **** --- 214,218 ---- break; } + #if WINVER >= 0x0501 case TRUSTEE_IS_OBJECTS_AND_SID: case TRUSTEE_IS_OBJECTS_AND_NAME:{ *************** *** 221,224 **** --- 222,230 ---- break; } + #else + #pragma message( \ + "NOTE: You are building with an early Platform SDK - not all" \ + "TRUSTEE operations on SIDs will be supported") + #endif // WINVER default:{ PyErr_SetString(PyExc_ValueError, "Invalid value for TrusteeForm"); |