Revert r5043 because of compilation problems on non-MSVC systems.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5049 4a71c877-e1ca-e34f-864e-861f7616d084
master
Roman C 2008-05-11 15:25:43 +00:00
parent 22d10c80aa
commit fcfae543ba
1 changed files with 0 additions and 2 deletions

View File

@ -32,7 +32,6 @@
#endif
#include <assert.h>
#include "lib/script/interp.h"
#if defined(__cplusplus)
extern "C"
@ -58,7 +57,6 @@ extern char last_called_script_event[MAX_EVENT_NAME_LEN];
* Arguments: ASSERT( condition, "Format string with variables: %d, %d", var1, var2 );
*/
#define ASSERT( expr, ... ) \
( (expr) ? (void)0 : scrOutputCallTrace() ); \
( (expr) ? (void)0 : (void)_debug( LOG_ERROR, __FUNCTION__, __VA_ARGS__ ) ); \
( (expr) ? (void)0 : (void)_debug( LOG_ERROR, __FUNCTION__, "Assert in Warzone: %s:%d (%s), last script event: '%s'", \
__FILE__, __LINE__, (#expr), last_called_script_event ) ); \