diff options
Diffstat (limited to 'src/fios.cpp')
-rw-r--r-- | src/fios.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fios.cpp b/src/fios.cpp index 7f2f04548..3ba326dfc 100644 --- a/src/fios.cpp +++ b/src/fios.cpp @@ -18,6 +18,7 @@ #include <sys/stat.h> #ifdef WIN32 +# include <tchar.h> # include <io.h> #else # include <unistd.h> @@ -171,8 +172,8 @@ void FiosMakeSavegameName(char *buf, const char *name, size_t size) snprintf(buf, size, "%s" PATHSEP "%s%s", _fios_path, name, extension); } -#if defined(WIN32) || defined(WIN64) -# define unlink _wunlink +#if defined(WIN32) +# define unlink _tunlink #endif bool FiosDelete(const char *name) |