diff options
author | withmorten <morten.with@gmail.com> | 2021-07-05 18:07:26 +0200 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-07-10 17:30:27 +0200 |
commit | 011aafa0435d2c60dc4e0769ed4c93ed1761e3f6 (patch) | |
tree | 4f6c78844f547651730f82043b28662a9b7239e9 /src/skel/crossplatform.h | |
parent | readme: fix lto option (diff) | |
download | re3-011aafa0435d2c60dc4e0769ed4c93ed1761e3f6.tar re3-011aafa0435d2c60dc4e0769ed4c93ed1761e3f6.tar.gz re3-011aafa0435d2c60dc4e0769ed4c93ed1761e3f6.tar.bz2 re3-011aafa0435d2c60dc4e0769ed4c93ed1761e3f6.tar.lz re3-011aafa0435d2c60dc4e0769ed4c93ed1761e3f6.tar.xz re3-011aafa0435d2c60dc4e0769ed4c93ed1761e3f6.tar.zst re3-011aafa0435d2c60dc4e0769ed4c93ed1761e3f6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/skel/crossplatform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/skel/crossplatform.h b/src/skel/crossplatform.h index 2dd9c162..aa90ce5a 100644 --- a/src/skel/crossplatform.h +++ b/src/skel/crossplatform.h @@ -29,6 +29,7 @@ enum eWinVersion #endif extern DWORD _dwOperatingSystemVersion; #define fcaseopen fopen +#define caserename rename #else char *strupr(char *str); char *strlwr(char *str); @@ -51,6 +52,8 @@ extern long _dwOperatingSystemVersion; char *casepath(char const *path, bool checkPathFirst = true); FILE *_fcaseopen(char const *filename, char const *mode); #define fcaseopen _fcaseopen +int _caserename(const char *old_filename, const char *new_filename); +#define caserename _caserename #endif #ifdef RW_GL3 |