Cocoa: Fix compilation on Mac OS X v10.4 and earlier
authorAndreas Färber <andreas.faerber@web.de>
Sun, 13 Dec 2009 00:52:29 +0000 (01:52 +0100)
committermalc <av1474@comtv.ru>
Thu, 7 Jan 2010 07:57:33 +0000 (10:57 +0300)
commit20557629c305fbd9c2ca5a2e7387c92b9b8ff9e6
treeb3cc5467bcc573b56fb5f8814213f4a2acffb250
parentf7720a51b568a6ed9976b5d30b1263ca9a6cac5a
Cocoa: Fix compilation on Mac OS X v10.4 and earlier

NSView's enterFullScreenMode:withOptions: and
exitFullScreenModeWithOptions: are available on v10.5
and later only. Undefined methods raise warnings and
undefined constants result in errors.

Reported by Ryan Schmidt.

While at it, avoid a warning on v10.3.9,
where MAC_OS_X_VERSION_10_4 is not defined.

Spotted by John Arbuckle.

Fix associated comments.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Cc: John Arbuckle <programmingkidx@gmail.com>
Cc: Ryan Schmidt <qemu-2009@ryandesign.com>
Cc: Mike Kronenberg <mike.kronenberg@kronenberg.org>
Signed-off-by: malc <av1474@comtv.ru>
cocoa.m