git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1027
7f0cb862-5218-0410-a997-
914c9d46530a
return fgCreateMenu( callback )->ID;\r
}\r
\r
-#if TARGET_HOST_MS_WINDOWS\r
-int FGAPIENTRY __glutCreateMenuWithExit( void(* callback)( int ), void (__cdecl *exit_function)(int) )\r
-{\r
- __glutExitFunc = exit_function;\r
- return glutCreateMenu( callback );\r
-}\r
-#endif\r
-\r
/*\r
* Destroys a menu object, removing all references to it\r
*/\r
*x = glutGet ( GLUT_SCREEN_WIDTH );\r
*y = glutGet ( GLUT_SCREEN_HEIGHT );\r
}\r
+\r
+\r
+\r
+/* -- PLATFORM-SPECIFIC INTERFACE FUNCTION -------------------------------------------------- */\r
+\r
+\r
+int FGAPIENTRY __glutCreateMenuWithExit( void(* callback)( int ), void (__cdecl *exit_function)(int) )\r
+{\r
+ __glutExitFunc = exit_function;\r
+ return glutCreateMenu( callback );\r
+}\r
+\r