00001
00002
00003 #ifndef VGS_GraphPort_H
00004 #define VGS_GraphPort_H
00005
00010 namespace VGServer {
00011
00012 #if defined(__GNUC__)
00013
00014 inline int g_strcasecmp(const char *a, const char *b)
00015 {
00016 return strcasecmp(a,b);
00017 }
00018
00019 #define g_snprintf snprintf
00020
00021 #else
00022
00023 inline g_strcasecmp(const char *a, const char *b)
00024 {
00025 return _stricmp(a,b);
00026 }
00027
00028 #define g_snprintf _snprintf_s
00029
00030 #endif
00031
00032
00033 }
00034
00035 #endif // VGS_GraphPort_H