mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-15 08:22:34 +01:00
(svn r19177) -Codechange: introduce INT8_MIN/MAX and UINT8_MAX for MSVC.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user