1 diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
2 index 6f5b8b1..2c7763d 100644
5 @@ -4074,15 +4074,6 @@ Window fl_xid(const Fl_Window* w)
6 static int calc_mac_os_version() {
8 NSAutoreleasePool *localPool = [[NSAutoreleasePool alloc] init];
9 -#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_10
10 - if ([NSProcessInfo instancesRespondToSelector:@selector(operatingSystemVersion)]) {
11 - NSOperatingSystemVersion version = [[NSProcessInfo processInfo] operatingSystemVersion];
12 - M = version.majorVersion;
13 - m = version.minorVersion;
14 - b = version.patchVersion;
19 NSDictionary * sv = [NSDictionary dictionaryWithContentsOfFile:@"/System/Library/CoreServices/SystemVersion.plist"];
20 const char *s = [[sv objectForKey:@"ProductVersion"] UTF8String];