diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-07-26 19:59:58 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-07-28 16:40:12 +0200 |
commit | eb8844fd113d3fdae0456d56bdb0eb56e3a5f26b (patch) | |
tree | 127e6f19fa16061661ac1eed9158caece6dd4521 /src/skel/crossplatform.h | |
parent | Provide more memory for casepath's arg (diff) | |
download | re3-eb8844fd113d3fdae0456d56bdb0eb56e3a5f26b.tar re3-eb8844fd113d3fdae0456d56bdb0eb56e3a5f26b.tar.gz re3-eb8844fd113d3fdae0456d56bdb0eb56e3a5f26b.tar.bz2 re3-eb8844fd113d3fdae0456d56bdb0eb56e3a5f26b.tar.lz re3-eb8844fd113d3fdae0456d56bdb0eb56e3a5f26b.tar.xz re3-eb8844fd113d3fdae0456d56bdb0eb56e3a5f26b.tar.zst re3-eb8844fd113d3fdae0456d56bdb0eb56e3a5f26b.zip |
Diffstat (limited to 'src/skel/crossplatform.h')
-rw-r--r-- | src/skel/crossplatform.h | 6 |
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 |