From: Diederick Niehorster Date: Tue, 18 Dec 2012 05:13:42 +0000 (+0000) Subject: removed unnecessary token pasting (##) preprocessor directives that blew X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=aaa5cd53fa964494b8cadf024f64ac459f1874cc;p=freeglut removed unnecessary token pasting (##) preprocessor directives that blew 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 --- diff --git a/src/fg_callbacks.c b/src/fg_callbacks.c index 0b5e185..9451af0 100644 --- a/src/fg_callbacks.c +++ b/src/fg_callbacks.c @@ -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)