Changeset - r21141:75d0c8b44db4
[Not reviewed]
master
0 1 0
zuu - 11 years ago 2014-01-05 10:15:57
zuu@openttd.org
(svn r26226) -Fix (r26212): Compilation in visual studio 2008 failed
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/stdafx.h
Show inline comments
 
@@ -215,6 +215,11 @@
 
	#pragma warning(disable: 6255)   // code analyzer: _alloca indicates failure by raising a stack overflow exception. Consider using _malloca instead
 
	#pragma warning(disable: 6246)   // code analyzer: Local declaration of 'statspec' hides declaration of the same name in outer scope. For additional information, see previous declaration at ...
 

	
 
	#if (_MSC_VER == 1500)           // Addresses item #13 on http://blogs.msdn.com/b/vcblog/archive/2008/08/11/tr1-fixes-in-vc9-sp1.aspx, for Visual Studio 2008
 
		#define _DO_NOT_DECLARE_INTERLOCKED_INTRINSICS_IN_MEMORY
 
		#include <intrin.h>
 
	#endif
 

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