Changeset - r2976:9ff3926b1d77
[Not reviewed]
master
0 1 0
peter1138 - 19 years ago 2006-02-05 09:28:06
peter1138@openttd.org
(svn r3551) Add directives to allow Visual Studio 2005 compilation.
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
stdafx.h
Show inline comments
 
@@ -103,6 +103,12 @@
 
#  pragma warning(disable: 4018) // 'expression' : signed/unsigned mismatch
 
#  pragma warning(disable: 4305) // 'identifier' : truncation from 'type1' to 'type2'
 
# endif /* _MSC_VER < 1300 */
 
# if _MSC_VER >= 1400              // MSVC 2005 safety checks
 
#  pragma warning(disable: 4996)   // 'strdup' was declared deprecated
 
#  define _CRT_SECURE_NO_DEPRECATE // all deprecated 'unsafe string functions
 
#  pragma comment(linker, "/NODEFAULTLIB:LIBC.LIB")
 
                                   // allow linking to non-recompiled libs
 
# endif /* _MSC_VER >= 1400 */
 

	
 
# include <malloc.h> // alloca()
 
# define NORETURN __declspec(noreturn)
0 comments (0 inline, 0 general)