diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2013-11-25 20:03:06 +0100 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2013-11-25 20:03:06 +0100 |
commit | aab79c6b5dc33f2a0f88b42a5308e79aeeb92b2c (patch) | |
tree | dca3e7e48129e1270053b678f7dd70b8dae1e6f5 /src/CBot/CBot.h | |
parent | 405db2d70ca108a0422538a4f30072f1831f473b (diff) | |
download | colobot-aab79c6b5dc33f2a0f88b42a5308e79aeeb92b2c.tar.gz colobot-aab79c6b5dc33f2a0f88b42a5308e79aeeb92b2c.tar.bz2 colobot-aab79c6b5dc33f2a0f88b42a5308e79aeeb92b2c.zip |
Changed ASM_TRAP() to assert(0)
Diffstat (limited to 'src/CBot/CBot.h')
-rw-r--r-- | src/CBot/CBot.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/CBot/CBot.h b/src/CBot/CBot.h index 8313252..df6614e 100644 --- a/src/CBot/CBot.h +++ b/src/CBot/CBot.h @@ -32,13 +32,6 @@ #define EOX (reinterpret_cast<CBotStack*>(-1)) /// \def tag special condition -// fix for MSVC instruction __asm int 3 (setting a trap) -#if defined(__MINGW32__) || defined(__GNUC__) -#define ASM_TRAP() asm("int $3"); -#else -#define ASM_TRAP() __asm int 3; -#endif - ///////////////////////////////////////////////////////////////////// // forward declaration |