From e2ad6be7ff5cfff0b428cf3b2a76a60f4c70b662 Mon Sep 17 00:00:00 2001 From: spanne Date: Fri, 1 Jul 2005 12:39:38 +0000 Subject: [PATCH] Fixed #ifdef for ChangeDisplaySettingsEx prototype. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@654 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freeglut/freeglut/src/freeglut_internal.h b/freeglut/freeglut/src/freeglut_internal.h index f0c639c..9353ad9 100644 --- a/freeglut/freeglut/src/freeglut_internal.h +++ b/freeglut/freeglut/src/freeglut_internal.h @@ -60,7 +60,6 @@ #include #include #include -#endif /* TODO: MinGW is lacking a prototype, this should better be handled via autoconf! */ #ifndef ChangeDisplaySettingsEx @@ -72,6 +71,7 @@ LONG WINAPI ChangeDisplaySettingsExW(LPCWSTR,LPDEVMODEW,HWND,DWORD,LPVOID); #define ChangeDisplaySettingsEx ChangeDisplaySettingsExA #endif #endif +#endif #if defined(_MSC_VER) #define strdup _strdup