(svn r3265) -Fix: partly reverted back r3263, because MSVC, who else, doesn't support variadic macros............

This commit is contained in:
truelight 2005-12-06 17:05:14 +00:00
parent 686da2f4e1
commit af87b2916a
1 changed files with 6 additions and 2 deletions

View File

@ -13,8 +13,12 @@
#else /* GPMI */
/* If GPMI isn't loaded, don't do a thing with the events (for now at least) */
# define ai_event(...)
# ifdef DEF_EVENTS
void CDECL empty_function(PlayerID player, int event, ...) {}
# else
extern void CDECL empty_function(PlayerID player, int event, ...);
# endif
# define ai_event empty_function
#endif /* GPMI */
/* To make our life a bit easier; you now only have to define new