]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix for the Linux Build. #ifdef __APPLE__ around the files only needed to work around...
authorAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 8 Dec 2009 06:14:12 +0000 (06:14 +0000)
committerAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 8 Dec 2009 06:14:12 +0000 (06:14 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9543 6f19259b-4bc3-4df7-8a09-765794883524

UnixPkg/Sec/Gasket.c
UnixPkg/Sec/Ia32/Gasket.S

index 30f06a24798fe8551c170af513f0b730622888c8..6c7b92fb5cc510447ab558ef144aaedb90474445 100644 (file)
@@ -1,3 +1,18 @@
+/** @file\r
+\r
+  Copyright (c) 2008-2009, Apple Inc. All rights reserved.\r
+  \r
+  All rights reserved. This program and the accompanying materials\r
+  are licensed and made available under the terms and conditions of the BSD License\r
+  which accompanies this distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifdef __APPLE__\r
 \r
 #include "SecMain.h"\r
 #include "Gasket.h"\r
@@ -416,3 +431,5 @@ GasketUgaBlt (
   return GasketUintn10Args (UgaBlt, (UINTN)UgaIo, (UINTN)BltBuffer, BltOperation, SourceX, SourceY, DestinationX, DestinationY, Width, Height, Delta);\r
 }\r
 \r
+#endif\r
+\r
index 77e8296b0b63f721735c4cfbbaa6ec42255a830f..a89f5dbf7ee393611e3b3a312dbcfe76802eff7e 100644 (file)
@@ -27,6 +27,8 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
+#ifdef __APPLE__\r
+\r
   .text\r
 \r
 #------------------------------------------------------------------------------\r
@@ -235,3 +237,6 @@ _GasketUintnUint16:
   ret\r
 \r
   .subsections_via_symbols\r
+  \r
+  #endif\r
+  \r