mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r3265) -Fix: partly reverted back r3263, because MSVC, who else, doesn't support variadic macros............
This commit is contained in:
parent
686da2f4e1
commit
af87b2916a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue