From: Sven Panne Date: Fri, 1 Jul 2005 12:39:38 +0000 (+0000) Subject: Fixed #ifdef for ChangeDisplaySettingsEx prototype. X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=b6141f8e74c06c452d5b225308f63009e25a846d;p=freeglut Fixed #ifdef for ChangeDisplaySettingsEx prototype. git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@654 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index f0c639c..9353ad9 100644 --- a/src/freeglut_internal.h +++ b/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