diff options
author | Darkvater <darkvater@openttd.org> | 2005-10-03 21:10:51 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-10-03 21:10:51 +0000 |
commit | b0a365ee676b8b612d88a3df1cac904db73e8bcf (patch) | |
tree | 42555e423d192ee397c8f3e6d037fb2bfab7ba08 | |
parent | a3d40a29fc10e67c4a1b7cbd7fd519da030167af (diff) | |
download | openttd-b0a365ee676b8b612d88a3df1cac904db73e8bcf.tar.xz |
(svn r3009) DIEEEEEEEEEEE VS6 (you good-for-nothing compiler)
-rw-r--r-- | stdafx.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -136,6 +136,16 @@ int CDECL vsnprintf(char *str, size_t size, const char *format, va_list ap); # endif typedef _W64 int INT_PTR, *PINT_PTR; typedef _W64 unsigned int UINT_PTR, *PUINT_PTR; + +#ifndef _INTPTR_T_DEFINED +#ifdef _WIN64 +typedef __int64 intptr_t; +#else +typedef _W64 int intptr_t; +#endif +#define _INTPTR_T_DEFINED +#endif + #endif // Windows has always LITTLE_ENDIAN |