From Andy Skinner, warning fix for Windows 64-bit build

This commit is contained in:
Robert Osfield 2007-04-03 19:42:43 +00:00
parent 86e20e1659
commit 307a9a9a78

View File

@ -39,7 +39,7 @@
#define GLUT_APIENTRY_DEFINED #define GLUT_APIENTRY_DEFINED
#define APIENTRY __stdcall #define APIENTRY __stdcall
#endif #endif
// XXX This is from Win32's <winnt.h> // XXX This is from Win32's <windef.h>
#ifndef CALLBACK #ifndef CALLBACK
#define CALLBACK __stdcall #define CALLBACK __stdcall
#endif #endif
@ -60,9 +60,9 @@
#endif #endif
#endif #endif
// XXX This is from Win32's <winnt.h> // XXX This is from Win32's <windef.h>
#ifndef CALLBACK #ifndef CALLBACK
#if (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC)) && !defined(MIDL_PASS) #if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
#define CALLBACK __stdcall #define CALLBACK __stdcall
#else #else
#define CALLBACK #define CALLBACK