Changes between Version 6 and Version 7 of Ticket #52210, comment 9
- Timestamp:
- Nov 2, 2016, 12:02:57 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #52210, comment 9
v6 v7 185 185 thrown by 186 186 {{{ 187 #!objc 187 188 SDL_bool lion_or_later = floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6; 188 189 ... … … 197 198 } 198 199 }}} 199 which can temporary be replaced by 200 {{{ 200 which can temporary/naively be replaced by 201 {{{ 202 #!objc 201 203 SDL_bool lion_or_later = false; 202 204 }}} … … 223 225 make: *** [build/SDL_cocoavideo.lo] Error 1 224 226 }}} 227 from 228 {{{ 229 #!objc 230 data->allow_spaces = ((floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6) && SDL_GetHintBoolean(SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES, SDL_TRUE)); 231 232 /* The IOPM assertion API can disable the screensaver as of 10.7. */ 233 data->screensaver_use_iopm = floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6; 234 }}} 235 The naive approach is again 236 {{{ 237 #!objc 238 data->allow_spaces = false; 239 data->screensaver_use_iopm = false; 240 }}}