mirror of https://github.com/acidanthera/audk.git
Use #if...#else to not confuse some lint tools for definition of EFIAPI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5316 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d2e6d78887
commit
86b2b825c4
|
@ -176,10 +176,10 @@ typedef INT32 INTN;
|
|||
// Microsoft* compiler requires _EFIAPI useage, __cdecl is Microsoft* specific C.
|
||||
//
|
||||
#define EFIAPI __cdecl
|
||||
#endif
|
||||
|
||||
#if __GNUC__
|
||||
#define EFIAPI __attribute__((cdecl))
|
||||
#else
|
||||
#if __GNUC__
|
||||
#define EFIAPI __attribute__((cdecl))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue