X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffreeglut_init.c;fp=src%2Ffreeglut_init.c;h=8c254bc888469a993b5a76374efea399fda8f5da;hb=62f61e0957a93d5d6188e146cf5f2aeaf98e6161;hp=44bb42faebde164f66de6918b840c01556fd7755;hpb=e31cce4d7a8789dc9c0dc723c4c13e719ad2db86;p=freeglut diff --git a/src/freeglut_init.c b/src/freeglut_init.c index 44bb42f..8c254bc 100644 --- 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