Browse Source

* "merge" of r382-383 from macosxintf repository (383 is whitspace fix):

r382 | jonas | 2012-10-13 13:27:03 +0200 (Sat, 13 Oct 2012) | 2 lines

  * "bool" is only 32 bit on Darwin/ppc, it's 8 bit on all other platforms

git-svn-id: trunk@22635 -
Jonas Maebe 13 years ago
parent
commit
6697ee21bb
1 changed files with 6 additions and 2 deletions
  1. 6 2
      packages/univint/src/MacTypes.pas

+ 6 - 2
packages/univint/src/MacTypes.pas

@@ -303,8 +303,12 @@ type
 	********************************************************************************	}
 	ByteParameter = SInt8;
 
-// For interfaces that use Cs "bool" type, which is a 32 bit number
-	CBool = SInt32; 
+// For interfaces that use Cs "bool" type
+{$ifc TARGET_CPU_PPC}
+	CBool = SInt32;
+{$elsec}
+	CBool = SInt8;
+{$endc}
 
 {*******************************************************************************