From 728aba9d7cf41f1aaba655b89da1fa687ecded10 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 26 Nov 2005 12:57:42 +0000 Subject: (svn r3236) - Fix: warnings about 'CDECL must be used with ...' on VS6 --- ai/ai_event.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ai') diff --git a/ai/ai_event.h b/ai/ai_event.h index 7f96f71b8..1f49f338b 100644 --- a/ai/ai_event.h +++ b/ai/ai_event.h @@ -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 -- cgit v1.2.3-70-g09d2