« Previous | Next » 

Revision 38ec7b53

ID38ec7b53578a4f95c37f92a1840fc25a01c9b4e7

Added by Andreas Färber over 14 years ago

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 <>
Cc: John Arbuckle <>
Cc: Ryan Schmidt <>
Cc: Mike Kronenberg <>
Signed-off-by: malc <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences