Author: akhaldi Date: Sat Jan 8 21:41:12 2011 New Revision: 50335
URL: http://svn.reactos.org/svn/reactos?rev=50335&view=rev Log: [CMAKE] - Prevent some status codes redefinitions.
Modified: branches/cmake-bringup/include/c++/stlport/stl/config/_windows.h
Modified: branches/cmake-bringup/include/c++/stlport/stl/config/_windows.h URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/include/c%2B%2B/st... ============================================================================== --- branches/cmake-bringup/include/c++/stlport/stl/config/_windows.h [iso-8859-1] (original) +++ branches/cmake-bringup/include/c++/stlport/stl/config/_windows.h [iso-8859-1] Sat Jan 8 21:41:12 2011 @@ -95,7 +95,12 @@ # endif
# if defined (_STLP_NEW_PLATFORM_SDK) && !defined(_WDMDDK_) +/* Define WIN32_NO_STATUS to prevent status codes redefinitions */ +# if !defined(WIN32_NO_STATUS) +# define WIN32_NO_STATUS +# endif # include <windef.h> + #ifndef InterlockedIncrement _STLP_IMPORT_DECLSPEC LONG _STLP_STDCALL InterlockedIncrement(IN OUT LONG volatile *); _STLP_IMPORT_DECLSPEC LONG _STLP_STDCALL InterlockedDecrement(IN OUT LONG volatile *);