Changeset - r14590:1fd296dfcddc
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2010-02-20 22:58:25
rubidium@openttd.org
(svn r19177) -Codechange: introduce INT8_MIN/MAX and UINT8_MAX for MSVC.
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/stdafx.h
Show inline comments
 
@@ -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>
0 comments (0 inline, 0 general)