Fixed #ifdef for ChangeDisplaySettingsEx prototype.
authorSven Panne <sven.panne@aedion.de>
Fri, 1 Jul 2005 12:39:38 +0000 (12:39 +0000)
committerSven Panne <sven.panne@aedion.de>
Fri, 1 Jul 2005 12:39:38 +0000 (12:39 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@654 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_internal.h

index f0c639c..9353ad9 100644 (file)
@@ -60,7 +60,6 @@
 #include <windowsx.h>
 #include <mmsystem.h>
 #include <TCHAR.H>
-#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