Clean up some crap - remove generated config.h (old junk) and also requirements for that in Error.h

--HG--
branch : trunk
This commit is contained in:
click
2010-08-03 22:51:27 +02:00
parent c4c0f5734e
commit 33829ed45e
3 changed files with 12 additions and 13 deletions

View File

@@ -23,16 +23,6 @@
#include "Common.h"
#if PLATFORM != PLATFORM_WINDOWS
#ifndef HAVE_CONFIG_H
#include <config.h>
#endif
#endif
#ifdef HAVE_ACE_STACK_TRACE_H
#include "ace/Stack_Trace.h"
#endif
#ifdef HAVE_ACE_STACK_TRACE_H // old versions ACE not have Stack_Trace.h but used at some oS for better compatibility
#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 ); ((void(*)())NULL)();} }
#else