summaryrefslogtreecommitdiff
path: root/BaseTools/Source/C/Include/X64/ProcessorBind.h
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/C/Include/X64/ProcessorBind.h')
-rw-r--r--BaseTools/Source/C/Include/X64/ProcessorBind.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/BaseTools/Source/C/Include/X64/ProcessorBind.h b/BaseTools/Source/C/Include/X64/ProcessorBind.h
index 5b2ad46637..5d79d89d13 100644
--- a/BaseTools/Source/C/Include/X64/ProcessorBind.h
+++ b/BaseTools/Source/C/Include/X64/ProcessorBind.h
@@ -27,7 +27,9 @@
//
// Make sure we are useing the correct packing rules per EFI specification
//
+#ifndef __GNUC__
#pragma pack()
+#endif
#if _MSC_EXTENSIONS