mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-23 15:23:44 +02:00
16 lines
489 B
Diff
16 lines
489 B
Diff
# Prevents PhysFS from throwing a compiler error when encountering an unsupported platform. Instead, assume it's Unix-like.
|
|
|
|
--- a/src/physfs_platforms.h
|
|
+++ b/src/physfs_platforms.h
|
|
@@ -73,7 +73,10 @@
|
|
# define PHYSFS_PLATFORM_UNIX 1
|
|
# define PHYSFS_PLATFORM_POSIX 1
|
|
#else
|
|
-# error Unknown platform.
|
|
+# warning Unknown platform.
|
|
+# define PHYSFS_PLATFORM_UNIX 1
|
|
+# define PHYSFS_PLATFORM_POSIX 1
|
|
+# define PHYSFS_NO_CDROM_SUPPORT 1
|
|
#endif
|
|
|
|
#endif /* include-once blocker. */
|