projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1857eb
)
Added missing guard to deactivate ATEXIT_HACK on non-Windows platforms
author
Sven Panne
<sven.panne@aedion.de>
Fri, 22 May 2009 16:51:26 +0000
(16:51 +0000)
committer
Sven Panne
<sven.panne@aedion.de>
Fri, 22 May 2009 16:51:26 +0000
(16:51 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@820
7f0cb862
-5218-0410-a997-
914c9d46530a
src/freeglut_menu.c
patch
|
blob
|
history
diff --git
a/src/freeglut_menu.c
b/src/freeglut_menu.c
index
8a04d0b
..
dbf44e5
100644
(file)
--- a/
src/freeglut_menu.c
+++ b/
src/freeglut_menu.c
@@
-779,11
+779,13
@@
int FGAPIENTRY glutCreateMenu( void(* callback)( int ) )
return fgCreateMenu( callback )->ID;
}
+#ifdef _WIN32
int FGAPIENTRY __glutCreateMenuWithExit( void(* callback)( int ), void (__cdecl *exitfunc)(int) )
{
__glutExitFunc = exitfunc;
return glutCreateMenu( callback );
}
+#endif
/*
* Destroys a menu object, removing all references to it