00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef OPENCAL_GLOBAL_H
00012 #define OPENCAL_GLOBAL_H
00013
00022
00023
00024
00025
00060
00061
00062 #ifdef HAVE_CONFIG_H
00063 #include <config.h>
00064 #endif
00065
00066 #ifdef WIN32 // Only in windows
00067
00068 #pragma warning (disable: 4786)
00069
00070
00075 #pragma warning (disable: 4251)
00076
00077 #include <windows.h>
00078
00079
00080 #ifdef OPENCAL_EXPORTS
00081 #define OPENCAL_API __declspec(dllexport)
00082 #else
00083 #define OPENCAL_API __declspec(dllimport)
00084 #endif
00085 #else // Linux
00086 #define stricmp strcasecmp
00087
00088 #define OPENCAL_API
00089 #endif // WIN32
00090
00091 #include <string>
00092 using std::string;
00093
00094 #include <iostream>
00095 using std::cout;
00096 using std::cin;
00097 using std::cerr;
00098 using std::endl;
00099
00100
00101
00102 #include <OpenCAL/Math.h>
00103
00104 #ifdef VERBOSE
00105 #include <OpenCAL/Debug.h>
00106 #endif // VERBOSE
00107
00108
00109 #ifndef NULL
00110 #define NULL 0
00111 #endif // NULL
00112
00113
00114 #endif // OPENCAL_GLOBAL_H