Get rid of macOS 10.7 version checks, they're always true

We don't support OS X < 10.7 anyhow any more.
This commit is contained in:
Vadim Zeitlin
2016-11-26 17:28:12 +01:00
parent 2638869fc7
commit 50190395c6
4 changed files with 4 additions and 17 deletions

View File

@@ -41,13 +41,10 @@
/*
Use the more efficient FSEvents API instead of kqueue
events for file system watcher, but only on OS X >= 10.7 since
that version introduced a flag that allows watching files as
well as sub directories.
events for file system watcher since that version introduced a flag that
allows watching files as well as sub directories.
*/
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7
#define wxHAVE_FSEVENTS_FILE_NOTIFICATIONS 1
#endif
#define wxHAVE_FSEVENTS_FILE_NOTIFICATIONS 1
/*
* turning off capabilities that don't work under cocoa yet

View File

@@ -24,7 +24,6 @@
#define HAVE_VA_COPY 1
#define HAVE_VARIADIC_MACROS 1
#define HAVE_STD_WSTRING 1
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
#if __GNUC__ > 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ >= 2 )
#if !defined(__has_include)
#define HAVE_TR1_UNORDERED_MAP 1
@@ -33,7 +32,6 @@
#endif
#define HAVE_GCC_ATOMIC_BUILTINS 1
#endif
#endif
#define HAVE_VISIBILITY 1
#define wxHAVE_PTHREAD_CLEANUP 1
#define CONST_COMPATIBILITY 0