Changeset - r21954:c6805cbca0f3
[Not reviewed]
master
0 1 0
rubidium - 10 years ago 2015-01-02 19:50:43
rubidium@openttd.org
(svn r27109) -Fix (r27102): MinGW compilation
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/stdafx.h
Show inline comments
 
@@ -266,6 +266,8 @@
 
		#define strncasecmp strnicmp
 
	#endif
 

	
 
	#define strtoull _strtoui64
 

	
 
	/* MSVC doesn't have these :( */
 
	#define S_ISDIR(mode) (mode & S_IFDIR)
 
	#define S_ISREG(mode) (mode & S_IFREG)
 
@@ -322,7 +324,6 @@
 
	#define OTTD_PRINTF64 "%I64d"
 
	#define OTTD_PRINTFHEX64 "%I64x"
 
	#define PRINTF_SIZE "%Iu"
 
	#define strtoull _strtoui64
 
#else
 
	#define OTTD_PRINTF64 "%lld"
 
	#define OTTD_PRINTFHEX64 "%llx"
0 comments (0 inline, 0 general)