Improve fix for building with mingw-w64 environment (#ifdef check for mingw-w64 env did not work for 32 bit builds)

This commit is contained in:
Stefan Gehn 2010-06-30 07:55:33 +00:00
parent 915d03ad66
commit 1cce0cd3c9
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ typedef struct _SYSTEM_PAGEFILE_INFORMATION
* are present in the headers provided by mingw-w64. * are present in the headers provided by mingw-w64.
* Docs: http://msdn.microsoft.com/en-us/library/aa378290(VS.85).aspx * Docs: http://msdn.microsoft.com/en-us/library/aa378290(VS.85).aspx
*/ */
#if defined(__MINGW32__) && !defined(WIN64) #if !defined(__MINGW64_VERSION_MAJOR) && defined(__MINGW32_MAJOR_VERSION)
typedef struct _SECURITY_LOGON_SESSION_DATA typedef struct _SECURITY_LOGON_SESSION_DATA
{ {
ULONG Size; ULONG Size;