From 7b016df720765f1e7bd89bc4b0d15b340b8b4726 Mon Sep 17 00:00:00 2001 From: Sylvain Beucler Date: Fri, 9 Mar 2012 20:29:58 +0000 Subject: [PATCH] CMake now defines HAVE_VFPRINTF for windows; suppress redefinition warning git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1088 7f0cb862-5218-0410-a997-914c9d46530a --- src/mswin/freeglut_internal_mswin.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mswin/freeglut_internal_mswin.h b/src/mswin/freeglut_internal_mswin.h index 26a8551..8cb3769 100644 --- a/src/mswin/freeglut_internal_mswin.h +++ b/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 */ -- 1.7.10.4