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

This commit is contained in:
Matthew Flatt 2011-09-02 06:27:07 -06:00
parent 92ec3b5f0c
commit d857385797

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