From 6b846aa62924df0dea4af78c6333f0bd141bda78 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Thu, 26 Jul 2012 00:18:02 +0200 Subject: Compile fixes Fixed some compiling issues --- src/CBot/CBot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CBot') diff --git a/src/CBot/CBot.h b/src/CBot/CBot.h index d618131..3b7d7e8 100644 --- a/src/CBot/CBot.h +++ b/src/CBot/CBot.h @@ -32,7 +32,7 @@ // fix for MSVC instruction __asm int 3 (setting a trap) -#ifdef __MINGW32__ +#if defined(__MINGW32__) || defined(__GNUC__) #define ASM_TRAP() asm("int $3"); #else #define ASM_TRAP() __asm int 3; -- cgit v1.2.3-1-g7c22