summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Ia32
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-06-02 02:22:31 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-06-02 02:22:31 +0000
commit86b2b825c48d9524db4870b87c185f707a3b1dfa (patch)
treeda2831004a8b368defa8e12b5ff12815453b1ef9 /MdePkg/Include/Ia32
parentd2e6d78887995a14bb6f0c25266281749b126646 (diff)
downloadedk2-86b2b825c48d9524db4870b87c185f707a3b1dfa.tar.gz
edk2-86b2b825c48d9524db4870b87c185f707a3b1dfa.tar.bz2
edk2-86b2b825c48d9524db4870b87c185f707a3b1dfa.zip
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
Diffstat (limited to 'MdePkg/Include/Ia32')
-rw-r--r--MdePkg/Include/Ia32/ProcessorBind.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Include/Ia32/ProcessorBind.h b/MdePkg/Include/Ia32/ProcessorBind.h
index e2e397a818..45e9c14bf3 100644
--- a/MdePkg/Include/Ia32/ProcessorBind.h
+++ b/MdePkg/Include/Ia32/ProcessorBind.h
@@ -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
//