From 208fc835285b0f752621b45849ce30c0ce5fabbc Mon Sep 17 00:00:00 2001 From: beuc Date: Fri, 9 Mar 2012 20:29:58 +0000 Subject: [PATCH] CMake now defines HAVE_VFPRINTF for windows; suppress redefinition warning git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1088 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/mswin/freeglut_internal_mswin.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/freeglut/freeglut/src/mswin/freeglut_internal_mswin.h b/freeglut/freeglut/src/mswin/freeglut_internal_mswin.h index 26a8551..8cb3769 100644 --- a/freeglut/freeglut/src/mswin/freeglut_internal_mswin.h +++ b/freeglut/freeglut/src/mswin/freeglut_internal_mswin.h @@ -48,7 +48,9 @@ #endif +#ifndef HAVE_VFPRINTF #define HAVE_VFPRINTF 1 +#endif /* MinGW may lack a prototype for ChangeDisplaySettingsEx() (depending on the version?) */ #if !defined(ChangeDisplaySettingsEx) @@ -140,4 +142,4 @@ struct tagSFG_PlatformJoystick extern void (__cdecl *__glutExitFunc)( int return_value ); -#endif /* FREEGLUT_INTERNAL_MSWIN_H */ \ No newline at end of file +#endif /* FREEGLUT_INTERNAL_MSWIN_H */