* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
*/\r
\r
+#define FREEGLUT_BUILDING_LIB\r
#include <GL/freeglut.h>\r
#include "../Common/freeglut_internal.h"\r
\r
\r
/* -- PLATFORM-SPECIFIC INTERFACE FUNCTION -------------------------------------------------- */\r
\r
-\r
void (__cdecl *__glutExitFunc)( int return_value ) = NULL;\r
\r
void FGAPIENTRY __glutInitWithExit( int *pargc, char **argv, void (__cdecl *exit_function)(int) )\r
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
*/\r
\r
+#define FREEGLUT_BUILDING_LIB\r
#include <GL/freeglut.h>\r
#include "../Common/freeglut_internal.h"\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
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
*/\r
\r
+#define FREEGLUT_BUILDING_LIB\r
#include <GL/freeglut.h>\r
#include "../Common/freeglut_internal.h"\r
\r
\r
/* -- PLATFORM-SPECIFIC INTERFACE FUNCTION -------------------------------------------------- */\r
\r
-\r
int FGAPIENTRY __glutCreateWindowWithExit( const char *title, void (__cdecl *exit_function)(int) )\r
{\r
__glutExitFunc = exit_function;\r