(svn r3236) - Fix: warnings about 'CDECL must be used with ...' on VS6

This commit is contained in:
Darkvater
2005-11-26 12:57:42 +00:00
parent af706b9ed3
commit 43b09db5ed
3 changed files with 11 additions and 10 deletions

View File

@@ -20,9 +20,9 @@
* Ugly, I know, but it works! */
# ifdef DEF_EVENTS
void empty_function(PlayerID player, int event, ...) {}
void CDECL empty_function(PlayerID player, int event, ...) {}
# else
extern void empty_function(PlayerID player, int event, ...);
extern void CDECL empty_function(PlayerID player, int event, ...);
# endif
# define ai_event empty_function