00001
00002 #ifndef __UT_API_h__
00003 #define __UT_API_h__
00004
00005 #include <SYS/SYS_Visibility.h>
00006
00007 #ifdef EXPORT_UT
00008 #define UT_API SYS_VISIBILITY_EXPORT
00009 #else
00010 #define UT_API SYS_VISIBILITY_IMPORT
00011 #endif
00012
00013
00014 #ifdef WIN32
00015 #if _MSC_VER < 1300
00016 #error "You must compile with MS Visual C++ .NET 2003"
00017 #endif
00018 #ifndef __cplusplus
00019 #error "You must compile with the /TP switch (C++ Compilation)"
00020 #endif
00021 #ifndef _MT
00022 #error "You must compile with the /MD or /MT switch (Multithreaded CRT)"
00023 #endif
00024 #ifndef _CPPUNWIND
00025 #error "You must compile with the /GX switch (Exception Handling)"
00026 #endif
00027 #ifndef _CPPRTTI
00028 #error "You must compile with the /GR switch (RTTI)"
00029 #endif
00030 #ifndef WIN32
00031 #error "You must define WIN32"
00032 #endif
00033 #ifdef _M_IX86
00034 #ifndef SESI_LITTLE_ENDIAN
00035 #error "You must define SESI_LITTLE_ENDIAN for IX86 compilation"
00036 #endif
00037 #endif
00038 #endif
00039
00040 #endif