removed unnecessary token pasting (##) preprocessor directives that blew
up some builds. thanks Phillip Kutin! git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1489 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
afdc54e910
commit
ff0366185f
@ -115,7 +115,7 @@ do \
|
|||||||
#define IMPLEMENT_CALLBACK_FUNC_2NAME(a,b) \
|
#define IMPLEMENT_CALLBACK_FUNC_2NAME(a,b) \
|
||||||
void FGAPIENTRY glut##a##Func( FGCB##b callback ) \
|
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 ); \
|
SET_CALLBACK( b ); \
|
||||||
}
|
}
|
||||||
#define IMPLEMENT_CALLBACK_FUNC(a) IMPLEMENT_CALLBACK_FUNC_2NAME(a,a)
|
#define IMPLEMENT_CALLBACK_FUNC(a) IMPLEMENT_CALLBACK_FUNC_2NAME(a,a)
|
||||||
|
Reference in New Issue
Block a user