From: John F. Fay Date: Mon, 25 Jan 2010 03:57:50 +0000 (+0000) Subject: Making all Windows include file names lower-case for better *nix compatibility per... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=6c3fc917f914a223cfa23f867ebfcb15ae3e24ae;p=freeglut 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: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@871 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/include/GL/freeglut_std.h b/include/GL/freeglut_std.h index 9a18554..e10836b 100644 --- a/include/GL/freeglut_std.h +++ b/include/GL/freeglut_std.h @@ -58,7 +58,7 @@ # define WIN32_LEAN_AND_MEAN 1 # endif # define NOMINMAX -# include +# include /* Windows static library */ # ifdef FREEGLUT_STATIC diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index 8ad18e9..74e454a 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