forked from mirror/OpenTTD
(svn r942) -Merged branch/network back into the trunk
This commit is contained in:
9
stdafx.h
9
stdafx.h
@@ -64,8 +64,8 @@
|
||||
# define inline _inline
|
||||
# define CDECL _cdecl
|
||||
# define NOT_REACHED() _assume(0)
|
||||
# define snprintf _snprintf
|
||||
# define vsnprintf _vsnprintf
|
||||
int snprintf(char *str, size_t size, const char *format, ...);
|
||||
int vsnprintf(char *str, size_t size, const char *format, va_list ap);
|
||||
# undef TTD_ALIGNMENT_4
|
||||
# undef TTD_ALIGNMENT_2
|
||||
# define GCC_PACK
|
||||
@@ -97,6 +97,10 @@ typedef unsigned int uint32;
|
||||
#if !defined(UNIX) && !defined(__CYGWIN__)
|
||||
typedef unsigned int uint;
|
||||
#endif
|
||||
// Not defined in QNX Neutrino (6.x)
|
||||
#if defined(__QNXNTO__)
|
||||
typedef unsigned int uint;
|
||||
#endif
|
||||
|
||||
#ifndef __BEOS__
|
||||
typedef signed char int8;
|
||||
@@ -175,6 +179,7 @@ assert_compile(sizeof(uint8) == 1);
|
||||
#define GetString OTTD_GetString
|
||||
#define DrawString OTTD_DrawString
|
||||
#define Random OTTD_Random
|
||||
#define CloseConnection OTTD_CloseConnection
|
||||
#endif
|
||||
|
||||
#endif // !defined(_STDAFX_H)
|
||||
|
Reference in New Issue
Block a user