diff --git a/src/lib/common/MacOSXPrecomp.h b/src/lib/common/MacOSXPrecomp.h index fe16821a..8cc9ff5d 100644 --- a/src/lib/common/MacOSXPrecomp.h +++ b/src/lib/common/MacOSXPrecomp.h @@ -20,6 +20,4 @@ // Prefix header for all source files of the 'deleteme' target in the 'deleteme' project. // -#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_2 - #include diff --git a/src/lib/platform/OSXScreen.cpp b/src/lib/platform/OSXScreen.cpp index a216dc1d..4719ee5c 100644 --- a/src/lib/platform/OSXScreen.cpp +++ b/src/lib/platform/OSXScreen.cpp @@ -44,17 +44,6 @@ #include #include -// Set some enums for fast user switching if we're building with an SDK -// from before such support was added. -#if !defined(MAC_OS_X_VERSION_10_3) || \ - (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_3) -enum { - kEventClassSystem = 'macs', - kEventSystemUserSessionActivated = 10, - kEventSystemUserSessionDeactivated = 11 -}; -#endif - // This isn't in any Apple SDK that I know of as of yet. enum { kSynergyEventMouseScroll = 11,