summaryrefslogtreecommitdiff
path: root/UnixPkg/Sec/Ia32
diff options
context:
space:
mode:
authorAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2009-12-08 06:14:12 +0000
committerAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2009-12-08 06:14:12 +0000
commit5af06fe3d0ddd4cd65d26aa9fde90173ad729e62 (patch)
tree32ee8fffbdc48d6fa61ca8282b68d6ac3eeb8755 /UnixPkg/Sec/Ia32
parent73cbc5806925870a87a9ae815ad3d75b778576b8 (diff)
downloadedk2-platforms-5af06fe3d0ddd4cd65d26aa9fde90173ad729e62.tar.xz
Fix for the Linux Build. #ifdef __APPLE__ around the files only needed to work around Mac OS X 16 byte IA-32 calling conventions issue. All the calls to this code is #ifdef __APPLE__, so no reason to build it on Linux or other gcc flavors.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9543 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/Sec/Ia32')
-rw-r--r--UnixPkg/Sec/Ia32/Gasket.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/UnixPkg/Sec/Ia32/Gasket.S b/UnixPkg/Sec/Ia32/Gasket.S
index 77e8296b0b..a89f5dbf7e 100644
--- a/UnixPkg/Sec/Ia32/Gasket.S
+++ b/UnixPkg/Sec/Ia32/Gasket.S
@@ -27,6 +27,8 @@
#
#------------------------------------------------------------------------------
+#ifdef __APPLE__
+
.text
#------------------------------------------------------------------------------
@@ -235,3 +237,6 @@ _GasketUintnUint16:
ret
.subsections_via_symbols
+
+ #endif
+