// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #if defined( WIN32 ) || defined( UNDER_CE ) #pragma warning( disable : 4786 ) // identifier was truncated to '255' characters in the debug information #pragma warning( disable : 4275 ) // non dll-interface class 'X' used as base for dll-interface class 'Y' #pragma warning( disable : 4251 ) // 'm' : class 'X' needs to have dll-interface to be used by clients of class 'Y' #endif #include #include #include #include #include //#include #ifndef IN_CLASSD #define IN_CLASSD(i) (((long)(i) & 0xf0000000) == 0xe0000000) #endif #ifdef IVY_USE_OWN_DATATYPES #include "DataTypes.h" #else #include #include #include #include namespace ivy = std; #endif #ifdef WIN32 #ifndef TRACE void DebugTrace ( const char *fmt , ... ); #define TRACE DebugTrace #endif #if defined(_WIN32_WCE) #undef ASSERT #endif // _WIN32_WCE #ifndef ASSERT #define ASSERT(expr) \ do { \ if (! (expr) ) \ {\ TRACE( "Assert (%s) failed in file %s at line %d\r\n", TEXT(#expr), __FILE__ , __LINE__ ); \ DebugBreak(); \ }\ } while (0) #endif #else #include #define TRACE printf #define ASSERT(expr) assert( expr ) #endif