summaryrefslogtreecommitdiffstats
path: root/include/exec/user
diff options
context:
space:
mode:
authorPeter Maydell2015-05-19 10:11:17 +0200
committerPeter Maydell2015-05-19 10:11:17 +0200
commitb63901d84cc22a06f82900620fdbe01ff16511ec (patch)
tree3181e01e78564f258770d37f32cd0d8f83767064 /include/exec/user
parentMakefile.target: set icon for binary file on Mac OS X (diff)
downloadqemu-b63901d84cc22a06f82900620fdbe01ff16511ec.tar.gz
qemu-b63901d84cc22a06f82900620fdbe01ff16511ec.tar.xz
qemu-b63901d84cc22a06f82900620fdbe01ff16511ec.zip
ui/cocoa: Drop tests for CGImageCreateWithImageInRect support
The code that tries to test at both compiletime and runtime for whether CGImageCreateWithImageInRect is supported provokes a compile warning on OSX 10.3: ui/cocoa.m:378:13: warning: comparison of function 'CGImageCreateWithImageInRect' equal to a null pointer is always false[-Wtautological-pointer-compare] if (CGImageCreateWithImageInRect == NULL) { // test if "CGImageCreateWithImageInRect" is supported on host at runtime ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ The simplest way to deal with this is just to drop this code, since we don't in practice support OSX 10.4 anyway. (10.5 was released in 2007 and is the last PPC version, so is the earliest we really need to continue to support at all.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1431296361-16981-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions