removed unnecessary token pasting (##) preprocessor directives that blew
authorDiederick Niehorster <dcnieho@gmail.com>
Tue, 18 Dec 2012 05:13:42 +0000 (05:13 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Tue, 18 Dec 2012 05:13:42 +0000 (05:13 +0000)
up some builds. thanks Phillip Kutin!

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1489 7f0cb862-5218-0410-a997-914c9d46530a

src/fg_callbacks.c

index 0b5e185..9451af0 100644 (file)
@@ -115,7 +115,7 @@ do                                                              \
 #define IMPLEMENT_CALLBACK_FUNC_2NAME(a,b)                      \
 void FGAPIENTRY glut##a##Func( FGCB##b callback )               \
 {                                                               \
-    FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glut"###a##"Func" );    \
+    FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glut"#a"Func" );    \
     SET_CALLBACK( b );                                          \
 }
 #define IMPLEMENT_CALLBACK_FUNC(a) IMPLEMENT_CALLBACK_FUNC_2NAME(a,a)