KleMiX/tiled — comment on commit ee60f133fc6c92b742984a1b26a0257a9db5800e
File: src/tiled/oslion.mm line 11
By mpjeff:

It just occurred to me that this probably wont compile in 10.6 since NSWindowCollectionBehaviorFullScreenPrimary was added in 10.7. I would wrap the content of this function with availability macros:

```
void OSLion::addFullscreen(Tiled::Internal::MainWindow *window)
{
#if defined(MAC_OS_X_VERSION_10_7) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
....
#else
#warning no fullscreen support will be included in this build
#endif
}
```

Release builds will need to be made from 10.7 so the feature is included, but this way people on Snow Leopard can still compile