src/video/cocoa/SDL_cocoaclipboard.m
changeset 4925 514f811a4887
parent 4504 9faebccfefb3
child 5262 b530ef003506
     1.1 --- a/src/video/cocoa/SDL_cocoaclipboard.m	Wed Dec 01 12:22:29 2010 -0800
     1.2 +++ b/src/video/cocoa/SDL_cocoaclipboard.m	Wed Dec 01 12:23:16 2010 -0800
     1.3 @@ -27,9 +27,7 @@
     1.4  static NSString *
     1.5  GetTextFormat(_THIS)
     1.6  {
     1.7 -#if MAC_OS_X_VERSION_MAX_ALLOWED < 1060
     1.8 -    return NSStringPboardType;
     1.9 -#else
    1.10 +#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
    1.11      SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
    1.12  
    1.13      if (data->osversion >= 0x1060) {
    1.14 @@ -37,6 +35,8 @@
    1.15      } else {
    1.16          return NSStringPboardType;
    1.17      }
    1.18 +#else
    1.19 +    return NSStringPboardType;
    1.20  #endif
    1.21  }
    1.22