Fixed #ifdef for ChangeDisplaySettingsEx prototype.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@654 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
865b149540
commit
e2ad6be7ff
@ -60,7 +60,6 @@
|
|||||||
#include <windowsx.h>
|
#include <windowsx.h>
|
||||||
#include <mmsystem.h>
|
#include <mmsystem.h>
|
||||||
#include <TCHAR.H>
|
#include <TCHAR.H>
|
||||||
#endif
|
|
||||||
|
|
||||||
/* TODO: MinGW is lacking a prototype, this should better be handled via autoconf! */
|
/* TODO: MinGW is lacking a prototype, this should better be handled via autoconf! */
|
||||||
#ifndef ChangeDisplaySettingsEx
|
#ifndef ChangeDisplaySettingsEx
|
||||||
@ -72,6 +71,7 @@ LONG WINAPI ChangeDisplaySettingsExW(LPCWSTR,LPDEVMODEW,HWND,DWORD,LPVOID);
|
|||||||
#define ChangeDisplaySettingsEx ChangeDisplaySettingsExA
|
#define ChangeDisplaySettingsEx ChangeDisplaySettingsExA
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
#define strdup _strdup
|
#define strdup _strdup
|
||||||
|
Reference in New Issue
Block a user