mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
Add the missing default definition of EFIAPI in Ia32/ProcessorBind.h.
Signed-off-by: lgao4 Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11813 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
34d137f31c
commit
a0e1b12735
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Processor or Compiler specific defines and types for IA-32 architecture.
|
Processor or Compiler specific defines and types for IA-32 architecture.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials are licensed and made available under
|
This program and the accompanying materials are licensed and made available under
|
||||||
the terms and conditions of the BSD License that accompanies this distribution.
|
the terms and conditions of the BSD License that accompanies this distribution.
|
||||||
The full text of the license may be found at
|
The full text of the license may be found at
|
||||||
@ -245,13 +245,17 @@ typedef INT32 INTN;
|
|||||||
/// Microsoft* compiler specific method for EFIAPI calling convention.
|
/// Microsoft* compiler specific method for EFIAPI calling convention.
|
||||||
///
|
///
|
||||||
#define EFIAPI __cdecl
|
#define EFIAPI __cdecl
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
///
|
||||||
|
/// GCC specific method for EFIAPI calling convention.
|
||||||
|
///
|
||||||
|
#define EFIAPI __attribute__((cdecl))
|
||||||
#else
|
#else
|
||||||
#if defined(__GNUC__)
|
///
|
||||||
///
|
/// The default for a non Microsoft* or GCC compiler is to assume the EFI ABI
|
||||||
/// GCC specific method for EFIAPI calling convention.
|
/// is the standard.
|
||||||
///
|
///
|
||||||
#define EFIAPI __attribute__((cdecl))
|
#define EFIAPI
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user