#4978 Removed obsolete code for unsupported OS versions.

This commit is contained in:
Jake Petroules 2015-08-22 16:04:44 -07:00 committed by Jerry (Xinyu Hou)
parent 76a776ef86
commit 433cfc232c
2 changed files with 0 additions and 13 deletions

View File

@ -20,6 +20,4 @@
// Prefix header for all source files of the 'deleteme' target in the 'deleteme' project. // 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 <Carbon/Carbon.h> #include <Carbon/Carbon.h>

View File

@ -44,17 +44,6 @@
#include <AvailabilityMacros.h> #include <AvailabilityMacros.h>
#include <IOKit/hidsystem/event_status_driver.h> #include <IOKit/hidsystem/event_status_driver.h>
// 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. // This isn't in any Apple SDK that I know of as of yet.
enum { enum {
kSynergyEventMouseScroll = 11, kSynergyEventMouseScroll = 11,