]> git.mxchange.org Git - simgear.git/commitdiff
Only use the ";" delimiter under WIN32
authorcurt <curt>
Sat, 9 Aug 2003 02:54:15 +0000 (02:54 +0000)
committercurt <curt>
Sat, 9 Aug 2003 02:54:15 +0000 (02:54 +0000)
simgear/misc/sg_path.cxx

index 1aeb12cefd59c52dbf8742ed44c722e6b886ebb5..542eb8f60fa13fba5cda1c0b2faf7b96fac5b680 100644 (file)
  * define directory path separators
  */
 
-#ifdef macintosh
+#if defined( macintosh )
 static const char sgDirPathSep = ':';
 static const char sgDirPathSepBad = '/';
 #else
 static const char sgDirPathSep = '/';
 static const char sgDirPathSepBad = ':';
 #endif
+
+#if defined( WIN32 )
 static const char sgSearchPathSep = ';';
+#else
+static const char sgSearchPathSep = ':';
+#endif
 
 
 // If Unix, replace all ":" with "/".  If MacOS, replace all "/" with