Making the #ifdef's around "__glutExitFunc" consistent so Cygwin will build

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@830 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
fayjf 2009-07-12 14:29:16 +00:00
parent ecd59d13e2
commit f0d06b2fe6
2 changed files with 2 additions and 2 deletions

View File

@ -933,7 +933,7 @@ int fgHintPresent(Window window, Atom property, Atom hint);
SFG_Proc fghGetProcAddress( const char *procName );
#ifdef _WIN32
#ifdef TARGET_HOST_MS_WINDOWS
extern void (__cdecl *__glutExitFunc)( int return_value );
#endif

View File

@ -1093,7 +1093,7 @@ int FGAPIENTRY glutCreateWindow( const char* title )
GL_FALSE, GL_FALSE )->ID;
}
#ifdef _WIN32
#ifdef TARGET_HOST_MS_WINDOWS
int FGAPIENTRY __glutCreateWindowWithExit( const char *title, void (__cdecl *exit_function)(int) )
{
__glutExitFunc = exit_function;