summaryrefslogtreecommitdiffstats
path: root/src/skel/crossplatform.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-07-26 19:59:58 +0200
committereray orçunus <erayorcunus@gmail.com>2020-07-28 16:56:47 +0200
commitc87b639a84ca8bc33667abc98a731a61350cc518 (patch)
tree5805f0a7f60da9ba4acd0e60700f0418c1f01188 /src/skel/crossplatform.h
parentMerge pull request #665 from erorcun/miami (diff)
downloadre3-c87b639a84ca8bc33667abc98a731a61350cc518.tar
re3-c87b639a84ca8bc33667abc98a731a61350cc518.tar.gz
re3-c87b639a84ca8bc33667abc98a731a61350cc518.tar.bz2
re3-c87b639a84ca8bc33667abc98a731a61350cc518.tar.lz
re3-c87b639a84ca8bc33667abc98a731a61350cc518.tar.xz
re3-c87b639a84ca8bc33667abc98a731a61350cc518.tar.zst
re3-c87b639a84ca8bc33667abc98a731a61350cc518.zip
Diffstat (limited to '')
-rw-r--r--src/skel/crossplatform.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/skel/crossplatform.h b/src/skel/crossplatform.h
index 268eedff..69600385 100644
--- a/src/skel/crossplatform.h
+++ b/src/skel/crossplatform.h
@@ -23,7 +23,7 @@ enum eWinVersion
#include "win.h"
#endif
extern DWORD _dwOperatingSystemVersion;
-
+#define fcaseopen fopen
#else
char *strupr(char *str);
char *strlwr(char *str);
@@ -43,7 +43,9 @@ enum {
};
extern long _dwOperatingSystemVersion;
-int casepath(char const *path, char *r);
+char *casepath(char const *path, bool checkPathFirst = true);
+FILE *_fcaseopen(char const *filename, char const *mode);
+#define fcaseopen _fcaseopen
#endif
#ifdef RW_GL3