From: Sylvain Beucler Date: Fri, 9 Mar 2012 20:29:58 +0000 (+0000) Subject: CMake now defines HAVE_VFPRINTF for windows; suppress redefinition warning X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;ds=sidebyside;h=7b016df720765f1e7bd89bc4b0d15b340b8b4726;p=freeglut 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 --- 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 */