summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdafx.h')
-rw-r--r--src/stdafx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index b134cb940..1bb33bdd3 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -251,6 +251,7 @@
/* XXX - WinCE without MSVCRT doesn't support wfopen, so it seems */
#if !defined(WINCE)
#define fopen(file, mode) _tfopen(OTTD2FS(file), _T(mode))
+ #define unlink(file) _tunlink(OTTD2FS(file))
#endif /* WINCE */
const char *FS2OTTD(const TCHAR *name);