Browse Source

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

git-svn-id: trunk@20235 -
Jonas Maebe 13 years ago
parent
commit
893d010dcd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/univint/src/MacOSAll.pas

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

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