From d48ec1752fbb02f976b1ce63567aaaafdefd9593 Mon Sep 17 00:00:00 2001 From: Machiavelli Date: Fri, 12 Jun 2009 20:24:49 +0200 Subject: * Attempted build fix for linux --HG-- branch : trunk --- src/shared/Errors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared') diff --git a/src/shared/Errors.h b/src/shared/Errors.h index 325b8eeb464..2f2430b3263 100644 --- a/src/shared/Errors.h +++ b/src/shared/Errors.h @@ -21,7 +21,7 @@ #ifndef TRINITYCORE_ERRORS_H #define TRINITYCORE_ERRORS_H -#include "ace/Stack_Trace.h" +#include #define WPAssert( assertion ) { if (!(assertion)) { ACE_Stack_Trace st; fprintf( stderr, "\n%s:%i in %s ASSERTION FAILED:\n %s\n%s\n", __FILE__, __LINE__,__FUNCTION__, #assertion, st.c_str()); assert( #assertion &&0 ); } } #define WPError( assertion, errmsg ) if( ! (assertion) ) { sLog.outError( "%\n%s:%i in %s ERROR:\n %s\n", __FILE__, __LINE__, __FUNCTION__, (char *)errmsg ); assert( false ); } -- cgit v1.2.3