Revision: 15844
http://sourceforge.net/p/edk2/code/15844
Author: lgao4
Date: 2014-08-20 02:26:07 +0000 (Wed, 20 Aug 2014)
Log Message:
-----------
Fix an issue of building BaseTools from sources using VS2013.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yingke Liu <[email protected]>
Reviewed-by: Hauch, Larry <[email protected]>
Reviewed-by: Gao, Liming <[email protected]>
Modified Paths:
--------------
trunk/edk2/BaseTools/Source/C/Common/WinNtInclude.h
Modified: trunk/edk2/BaseTools/Source/C/Common/WinNtInclude.h
===================================================================
--- trunk/edk2/BaseTools/Source/C/Common/WinNtInclude.h 2014-08-20 02:06:12 UTC
(rev 15843)
+++ trunk/edk2/BaseTools/Source/C/Common/WinNtInclude.h 2014-08-20 02:26:07 UTC
(rev 15844)
@@ -1,6 +1,6 @@
/** @file
-Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD
License
which accompanies this distribution. The full text of the license may be
found at
@@ -23,9 +23,13 @@
#define GUID _WINNT_DUP_GUID_____
#define _LIST_ENTRY _WINNT_DUP_LIST_ENTRY_FORWARD
#define LIST_ENTRY _WINNT_DUP_LIST_ENTRY
+
+#if (_MSC_VER < 1800)
#define InterlockedIncrement _WINNT_DUP_InterlockedIncrement
#define InterlockedDecrement _WINNT_DUP_InterlockedDecrement
#define InterlockedCompareExchange64 _WINNT_DUP_InterlockedCompareExchange64
+#endif
+
#undef UNALIGNED
#undef CONST
#undef VOID
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits