]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/os/path.h
portability fixes
[xonotic/netradiant.git] / libs / os / path.h
index cd8b0aa77b214b06c6611d7fa4f60dc97afb10f7..082b56fafe6f458297684ebba5578f1f19bf7337 100644 (file)
@@ -93,7 +93,7 @@ inline bool path_is_absolute(const char* path)
 #if defined(WIN32)
   return path[0] == '/'
     || (path[0] != '\0' && path[1] == ':'); // local drive
-#elif defined(__linux__) || defined(__APPLE__)
+#elif defined(POSIX)
   return path[0] == '/';
 #endif
 }