]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/path_test.cxx
Fix #1783: repeated error message on console
[simgear.git] / simgear / misc / path_test.cxx
index 94f9eaad296087a327e8669ecee9b157c45b9e9d..61a9fba94ea77100b9d2741c8bf90ea561c8f0af 100644 (file)
@@ -141,8 +141,12 @@ int main(int argc, char* argv[])
     
 // add
     pc.add("/opt/local");
+#ifdef _WIN32
+    COMPARE(pc.str(), std::string("/usr/local/include/;/opt/local"));
+#else
     COMPARE(pc.str(), std::string("/usr/local/include/:/opt/local"));
-    
+#endif
+
 // concat
     SGPath pd = pb;
     pd.concat("-1");