Explorar o código

* don't try to link the Carbon framework when targeting the iPhoneSimulator

git-svn-id: trunk@20235 -
Jonas Maebe %!s(int64=14) %!d(string=hai) anos
pai
achega
893d010dcd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/univint/src/MacOSAll.pas

+ 1 - 1
packages/univint/src/MacOSAll.pas

@@ -11,7 +11,7 @@
 unit MacOSAll;
 unit MacOSAll;
 interface
 interface
 
 
-{$ifc defined CPUPOWERPC32 or defined CPUI386}
+{$ifc (defined CPUPOWERPC32 or defined CPUI386) and not defined(iphonesim)}
 {$linkframework Carbon}
 {$linkframework Carbon}
 {$elsec}
 {$elsec}
 {$linkframework CoreFoundation}
 {$linkframework CoreFoundation}