diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2013-04-22 10:29:47 +0000 |
---|---|---|
committer | Andreas Färber <andreas.faerber@web.de> | 2013-05-29 01:23:01 +0200 |
commit | 42a5dfe75f455fe7f3619ce44b7eb025ba631ee8 (patch) | |
tree | bb862d47740e413230ee83fc939c98051aa15547 /qemu-coroutine-sleep.c | |
parent | 6e657e64cdc478461c1e6a5e81c6d23115664326 (diff) |
cocoa: Avoid deprecated CPS* functions
The functions CPSGetCurrentProcess and CPSEnableForegroundOperation
are deprecated in newer versions of MacOSX and cause warning messages
to be logged to the system log. Instead, use the new preferred method
of promoting our console process up to a graphical app with menubar
and Dock icon, which is TransformProcessType. (This function came
in with MacOSX 10.3, so there's no need to retain the old method as
we don't support anything earlier than 10.3 anyway.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Diffstat (limited to 'qemu-coroutine-sleep.c')
0 files changed, 0 insertions, 0 deletions