File diff r14951:e24469d4e684 → r14952:14ece20bc0d1
src/stdafx.h
Show inline comments
 
@@ -267,27 +267,29 @@
 

	
 
#if defined(WIN32) || defined(WIN64) || defined(__OS2__) && !defined(__INNOTEK_LIBC__)
 
	#define PATHSEP "\\"
 
	#define PATHSEPCHAR '\\'
 
#else
 
	#define PATHSEP "/"
 
	#define PATHSEPCHAR '/'
 
#endif
 

	
 
/* MSVCRT of course has to have a different syntax for long long *sigh* */
 
#if defined(_MSC_VER) || defined(__MINGW32__)
 
	#define OTTD_PRINTF64 "%I64d"
 
	#define OTTD_PRINTFHEX64 "%I64x"
 
	#define PRINTF_SIZE "%Iu"
 
#else
 
	#define OTTD_PRINTF64 "%lld"
 
	#define OTTD_PRINTFHEX64 "%llx"
 
	#define PRINTF_SIZE "%zu"
 
#endif
 

	
 
typedef unsigned char byte;
 

	
 
/* This is already defined in unix, but not in QNX Neutrino (6.x)*/
 
#if (!defined(UNIX) && !defined(__CYGWIN__) && !defined(__BEOS__) && !defined(__HAIKU__) && !defined(__MORPHOS__)) || defined(__QNXNTO__)
 
	typedef unsigned int uint;
 
#endif
 

	
 
#if defined(TROUBLED_INTS)
 
	/* NDS'/BeOS'/Haiku's types for uint32/int32 are based on longs, which causes