mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 23:24:03 +02:00
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.
|
// Microsoft* compiler requires _EFIAPI useage, __cdecl is Microsoft* specific C.
|
||||||
//
|
//
|
||||||
#define EFIAPI __cdecl
|
#define EFIAPI __cdecl
|
||||||
#endif
|
#else
|
||||||
|
#if __GNUC__
|
||||||
#if __GNUC__
|
#define EFIAPI __attribute__((cdecl))
|
||||||
#define EFIAPI __attribute__((cdecl))
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user