diff options
Diffstat (limited to 'MdePkg/Include')
-rw-r--r-- | MdePkg/Include/Ia32/ProcessorBind.h | 8 |
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
//
|