projects
/
xonotic
/
netradiant.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
portability fixes
[xonotic/netradiant.git]
/
libs
/
os
/
path.h
diff --git
a/libs/os/path.h
b/libs/os/path.h
index cd8b0aa77b214b06c6611d7fa4f60dc97afb10f7..082b56fafe6f458297684ebba5578f1f19bf7337 100644
(file)
--- a/
libs/os/path.h
+++ b/
libs/os/path.h
@@
-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
}