From 6c3fc917f914a223cfa23f867ebfcb15ae3e24ae Mon Sep 17 00:00:00 2001 From: "John F. Fay" Date: Mon, 25 Jan 2010 03:57:50 +0000 Subject: [PATCH] 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 --- include/GL/freeglut_std.h | 2 +- src/freeglut_internal.h | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) 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 -- 1.7.10.4