mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r19177) -Codechange: introduce INT8_MIN/MAX and UINT8_MAX for MSVC.
This commit is contained in:
parent
045bee5229
commit
e2adecd927
|
@ -51,6 +51,9 @@
|
|||
#define UINT16_MAX (65535U)
|
||||
#define INT16_MAX (32767)
|
||||
#define INT16_MIN (-INT16_MAX - 1)
|
||||
#define UINT8_MAX (255)
|
||||
#define INT8_MAX (127)
|
||||
#define INT8_MIN (-INT8_MAX - 1)
|
||||
#endif
|
||||
|
||||
#include <cstdio>
|
||||
|
|
Loading…
Reference in New Issue