GraphPort.h

Go to the documentation of this file.
00001 // $Id: GraphPort.h 101 2006-04-23 08:19:17Z bingmann $
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 } // namespace VGServer
00034 
00035 #endif // VGS_GraphPort_H

Generated on Wed Sep 27 14:34:00 2006 for VGServer by  doxygen 1.4.7