Making all Windows include file names lower-case for better *nix compatibility per e-mail from Martin Payne vintage 1/22/2010 6:15 AM.

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@871 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
fayjf 2010-01-25 03:57:50 +00:00
parent c152b70c81
commit c907da58a6
2 changed files with 7 additions and 8 deletions

View File

@ -58,7 +58,7 @@
# define WIN32_LEAN_AND_MEAN 1
# endif
# define NOMINMAX
# include <Windows.h>
# include <windows.h>
/* Windows static library */
# ifdef FREEGLUT_STATIC

View File

@ -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 <Windows.h>
# include <WindowsX.h>
# include <MMSystem.h>
# include <windows.h>
# include <windowsx.h>
# include <mmsystem.h>
/* CYGWIN does not have tchar.h, but has TEXT(x), defined in winnt.h. */
# ifndef __CYGWIN__
# include <tchar.h>