diff options
Diffstat (limited to 'MdePkg/Include/Ebc')
-rw-r--r-- | MdePkg/Include/Ebc/ProcessorBind.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/MdePkg/Include/Ebc/ProcessorBind.h b/MdePkg/Include/Ebc/ProcessorBind.h index c4c168d773..4cd89a94d3 100644 --- a/MdePkg/Include/Ebc/ProcessorBind.h +++ b/MdePkg/Include/Ebc/ProcessorBind.h @@ -4,7 +4,7 @@ We currently only have one EBC complier so there may be some Intel compiler
specific functions in this file.
- Copyright (c) 2006 - 2008, Intel Corporation<BR>
+ Copyright (c) 2006 - 2009, Intel Corporation<BR>
All rights reserved. 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
@@ -113,7 +113,13 @@ typedef unsigned long UINTN; /// use the correct C calling convention. All protocol member functions and
/// EFI intrinsics are required to modify their member functions with EFIAPI.
///
+#ifdef EFIAPI
+ ///
+ /// If EFIAPI is already defined, then we use that definition.
+ ///
+#else
#define EFIAPI
+#endif
///
/// The Microsoft* C compiler can removed references to unreferenced data items
|