Changeset - r19499:a85decec79f1
[Not reviewed]
master
0 1 0
michi_cc - 12 years ago 2012-07-19 19:06:27
michi_cc@openttd.org
(svn r24416) -Fix [FS#5231]: [Win32] Unbreak NewGRF MD5 sum calculation. Macros and side effects don't mix, especially if there's some obscure '#define min' in a windows header that nobody thinks of.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/stdafx.h
Show inline comments
 
@@ -163,6 +163,7 @@
 
		#define WINVER 0x0400     // Windows NT 4.0 / Windows 95
 
	#endif
 
	#define _WIN32_IE_ 0x0401         // 4.01 (win98 and NT4SP5+)
 
	#define NOMINMAX                // Disable min/max macros in windows.h.
 

	
 
	#pragma warning(disable: 4244)  // 'conversion' conversion from 'type1' to 'type2', possible loss of data
 
	#pragma warning(disable: 4761)  // integral size mismatch in argument : conversion supplied
0 comments (0 inline, 0 general)