projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixing the "fgDeinitialize" call properly per e-mail from John Tsiombikas dated 12...
[freeglut]
/
src
/
freeglut_init.c
diff --git
a/src/freeglut_init.c
b/src/freeglut_init.c
index
44bb42f
..
8c254bc
100644
(file)
--- a/
src/freeglut_init.c
+++ b/
src/freeglut_init.c
@@
-393,7
+393,7
@@
static void fghInitialize( const char* displayName )
/* Avoid registering atexit callback on Win32 as it results in an access
* violation due to calling into a module which has been unloaded. */
-#ifndef TARGET_HOST_MS_WINDOWS
+#if ( TARGET_HOST_MS_WINDOWS == 0 )
atexit(fgDeinitialize);
#endif