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:
klu2 2008-06-02 02:22:31 +00:00
parent d2e6d78887
commit 86b2b825c4
1 changed files with 4 additions and 4 deletions

View File

@ -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
//