summaryrefslogtreecommitdiffstats
path: root/src/CBot
diff options
context:
space:
mode:
Diffstat (limited to 'src/CBot')
-rw-r--r--src/CBot/CBot.h2
1 files changed, 1 insertions, 1 deletions
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;