Cocoa: ppc64 host support
commit44e4c0ba863b0be130d0e87e71f456b8b529addb
authorAndreas Färber <andreas.faerber@web.de>
Sat, 12 Dec 2009 23:45:40 +0000 (13 00:45 +0100)
committermalc <av1474@comtv.ru>
Thu, 7 Jan 2010 07:57:32 +0000 (7 10:57 +0300)
tree4c9e2986c1b2c638f3305892cfc450be28e3925b
parent821b19fe923ac49a24cdb4af902584fdd019cee6
Cocoa: ppc64 host support

Fix integer usage in the Cocoa backend: NSInteger is long on LP64.

http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/Reference/NSView.html#//apple_ref/doc/uid/20000014-BBCFHHCD

This makes the graphical display show up on a ppc64 host.

v3:
- Confine NSInteger to Mac OS X v10.5 and later

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: malc <av1474@comtv.ru>
cocoa.m