X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_internal.h;h=c3c933fccd7185f4bbaab454b087f894ef12b12e;hb=83b18abec6d04e3cc4801305026dce26cb8d2293;hp=8ad18e9eb365b3deaebb4624ad0974e3122c3b53;hpb=ad19acde0f27333b2f525f54af33695577582f38;p=freeglut diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index 8ad18e9..c3c933f 100644 --- a/src/freeglut_internal.h +++ b/src/freeglut_internal.h @@ -88,15 +88,14 @@ /* -- PLATFORM-SPECIFIC INCLUDES ------------------------------------------- */ -/* All Win32 headers depend on the huge Windows.h recursive include. - * Note: Let's use proper case for MS-Win headers. Even though it's - * not required due to case insensitivity, it's a good habit to keep - * because the cross-platform includes are case sensitive. +/* All Win32 headers depend on the huge windows.h recursive include. + * Note: Lower-case header names are used, for best cross-platform + * compatibility. */ #if TARGET_HOST_MS_WINDOWS && !defined(_WIN32_WCE) -# include -# include -# include +# include +# include +# include /* CYGWIN does not have tchar.h, but has TEXT(x), defined in winnt.h. */ # ifndef __CYGWIN__ # include @@ -161,6 +160,10 @@ # endif #endif +#if TARGET_HOST_MS_WINDOWS +# define HAVE_VFPRINTF 1 +#endif + /* MinGW may lack a prototype for ChangeDisplaySettingsEx() (depending on the version?) */ #if TARGET_HOST_MS_WINDOWS && !defined(ChangeDisplaySettingsEx) LONG WINAPI ChangeDisplaySettingsExA(LPCSTR,LPDEVMODEA,HWND,DWORD,LPVOID); @@ -363,6 +366,7 @@ struct tagSFG_Display #elif TARGET_HOST_MS_WINDOWS HINSTANCE Instance; /* The application's instance */ DEVMODE DisplayMode; /* Desktop's display settings */ + char *DisplayName; /* Display name for multi display support*/ #endif