Unbreak the build for non-Windows platforms, fixing obviously untested
[freeglut] / src / freeglut_internal.h
index 05cdddf..cb294aa 100644 (file)
@@ -933,8 +933,8 @@ int fgHintPresent(Window window, Atom property, Atom hint);
 
 SFG_Proc fghGetProcAddress( const char *procName );
 
-#ifdef _WIN32
-extern void (__cdecl *__glutExitFunc)( int retval );
+#if TARGET_HOST_MS_WINDOWS
+extern void (__cdecl *__glutExitFunc)( int return_value );
 #endif
 
 #endif /* FREEGLUT_INTERNAL_H */