Vadim Zeitlin
fe311b9cc5
Use __builtin_available() when available in wxMac builds
...
The advantage of using this compiler builtin instead of our own platform
checks is that the compiler will warn us (if -Wunguarded-availability is
turned on for APIs introduced before 10.13 or by default for later ones)
if a check is forgotten, which is not the case for the manual checks.
Update the code to use WX_IS_MACOS_AVAILABLE() macro, which expands to
__builtin_available() when supported, and also use API_AVAILABLE() where
it makes sense to avoid having too many checks.
2019-04-18 00:02:34 +02:00
..
2019-04-05 11:08:53 -07:00
2019-04-18 00:02:34 +02:00
2019-04-17 19:05:31 +02:00
2019-01-30 17:35:54 +01:00
2019-04-18 00:02:34 +02:00
2015-04-23 22:00:35 +04:00
2015-03-20 00:08:37 +01:00
2015-11-22 10:15:41 +01:00
2019-01-30 17:35:54 +01:00
2015-02-15 20:09:10 +00:00
2019-04-17 19:05:31 +02:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2015-11-22 10:12:58 +01:00
2016-02-01 13:48:48 +01:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2018-12-10 19:06:18 +01:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2013-07-26 16:02:46 +00:00
2019-04-05 11:08:53 -07:00
2019-01-30 17:35:54 +01:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2013-07-26 16:02:46 +00:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2016-12-11 15:20:42 +01:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2013-07-26 16:02:46 +00:00
2019-04-17 19:05:31 +02:00
2018-09-17 15:24:41 +02:00
2019-04-05 11:08:53 -07:00
2018-01-18 19:42:08 +01:00
2015-06-06 02:37:35 +04:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2015-04-23 22:00:35 +04:00
2019-04-05 10:54:54 -07:00
2015-12-07 14:37:34 +01:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-17 19:05:31 +02:00
2019-04-05 11:08:53 -07:00
2015-10-25 18:20:32 +01:00
2019-04-17 19:05:31 +02:00
2019-04-05 11:08:53 -07:00
2015-11-22 10:15:41 +01:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2016-02-01 13:48:48 +01:00
2019-04-05 10:54:54 -07:00
2019-04-05 11:08:53 -07:00
2015-11-22 10:14:29 +01:00
2018-09-24 00:11:31 +02:00
2018-10-24 19:30:41 +02:00
2019-04-05 10:54:54 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2018-01-27 13:38:47 +01:00
2018-09-25 15:22:56 +02:00
2019-04-05 11:08:53 -07:00
2015-04-23 22:00:35 +04:00
2019-04-05 11:08:53 -07:00
2018-06-15 10:06:17 +02:00
2015-04-23 22:00:35 +04:00
2019-04-05 10:54:54 -07:00
2019-04-17 19:05:31 +02:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-01-30 17:35:54 +01:00
2015-04-23 22:00:35 +04:00
2019-01-30 17:35:54 +01:00
2016-02-01 13:48:48 +01:00
2019-01-30 17:35:54 +01:00
2014-03-31 11:23:46 +00:00
2019-02-02 22:43:14 +01:00