mirror of https://github.com/OpenTTD/OpenTTD
(svn r3265) -Fix: partly reverted back r3263, because MSVC, who else, doesn't support variadic macros............
parent
686da2f4e1
commit
af87b2916a
|
@ -13,8 +13,12 @@
|
||||||
|
|
||||||
#else /* GPMI */
|
#else /* GPMI */
|
||||||
|
|
||||||
/* If GPMI isn't loaded, don't do a thing with the events (for now at least) */
|
# ifdef DEF_EVENTS
|
||||||
# define ai_event(...)
|
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 */
|
#endif /* GPMI */
|
||||||
|
|
||||||
/* To make our life a bit easier; you now only have to define new
|
/* To make our life a bit easier; you now only have to define new
|
||||||
|
|
Loading…
Reference in New Issue