cocoa: fix switch-to-gui-app for 64-bit

original commit: d857385797f20271612ad01940e96d0f1d6f7578
This commit is contained in:
Matthew Flatt 2011-09-02 06:27:07 -06:00
parent 9427dc1b12
commit ea717ae364

View File

@ -82,8 +82,8 @@
;; explicitly register with the dock so the application can receive
;; keyboard events.
(define-cstruct _ProcessSerialNumber
([highLongOfPSN _ulong]
[lowLongOfPSN _ulong]))
([highLongOfPSN _uint32]
[lowLongOfPSN _uint32]))
(define kCurrentProcess 2)
(define kProcessTransformToForegroundApplication 1)
(define-appserv TransformProcessType (_fun _ProcessSerialNumber-pointer