diff options
author | cls%seawood.org <devnull@localhost> | 1999-07-19 02:50:02 +0000 |
---|---|---|
committer | cls%seawood.org <devnull@localhost> | 1999-07-19 02:50:02 +0000 |
commit | 43822220716eeae282d1bdc48601f5efb3076c36 (patch) | |
tree | 813a763b13ae445897064410cbafa05cd63b875b | |
parent | b45a01739f8cb0f8737ad3e034524b991b679bfa (diff) | |
download | nspr-hg-43822220716eeae282d1bdc48601f5efb3076c36.tar.gz |
Changed a couple of __MINGW32__ ifdefs into __GNUC__ ones. mingw32's new runtime (19990715) has some special ifdefs in <windows.h> so include that by default rather than <windef.h>
-rw-r--r-- | lib/ds/plevent.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ds/plevent.h b/lib/ds/plevent.h index 035f3827..0a1ea1bb 100644 --- a/lib/ds/plevent.h +++ b/lib/ds/plevent.h @@ -171,9 +171,8 @@ and to ensure that no more events will be delivered for that owner. #include "prmon.h" /* For HWND */ -#ifdef _WIN32 -#include <windef.h> -#elif defined(WIN16) +#if defined(_WIN32) && !defined(__MINGW32__) +#elif defined(WIN16) || defined(__MINGW32__) #include <windows.h> #elif defined(XP_OS2) #include <os2.h> |