From 1cce0cd3c92e807e83ac65ceea6ab723c1f42cf5 Mon Sep 17 00:00:00 2001 From: Stefan Gehn Date: Wed, 30 Jun 2010 07:55:33 +0000 Subject: [PATCH] Improve fix for building with mingw-w64 environment (#ifdef check for mingw-w64 env did not work for 32 bit builds) --- src/sysdeps/win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sysdeps/win32.c b/src/sysdeps/win32.c index 42a3b17..a260741 100644 --- a/src/sysdeps/win32.c +++ b/src/sysdeps/win32.c @@ -92,7 +92,7 @@ typedef struct _SYSTEM_PAGEFILE_INFORMATION * are present in the headers provided by mingw-w64. * 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 { ULONG Size;