Jan Ekström
bec6e7565b
Cocoa: Use MACH_PORT_NULL for default IOKit port
...
Looking into the definition of kIOMainPortDefault, the following
description can be found:
When specifying a main port to IOKit functions, the NULL argument
indicates "use the default". This is a synonym for NULL, if you'd
rather use a named constant.
Thus, we do not have to utilize an external symbol for the identifier
of the default main IOKit port, but MACH_PORT_NULL suffice. This
simplifies compatibility between macOS versions as the symbol was
renamed with macOS 12.0.
Fixes #1985
Closes #1994
(cherry picked from commit 544790666b )
2021-11-24 23:01:46 +01:00
..
2021-08-03 16:00:30 +02:00
2021-02-10 18:17:16 +01:00
2021-08-03 16:01:03 +02:00
2019-12-31 23:10:29 +01:00
2021-11-24 23:01:46 +01:00
2021-11-24 23:01:46 +01:00
2019-05-27 16:33:22 +02:00
2021-10-13 23:11:00 +02:00
2021-06-15 18:07:28 +02:00
2021-10-28 12:29:57 +02:00
2021-10-28 12:14:58 +02:00
2019-05-19 18:30:58 +02:00
2016-02-02 06:00:18 +01:00
2020-01-17 15:40:48 +01:00
2021-10-28 12:29:57 +02:00
2021-10-28 12:14:58 +02:00
2021-08-27 17:13:12 +02:00
2021-08-27 17:13:12 +02:00
2021-08-27 17:13:12 +02:00
2019-07-16 14:38:26 +02:00
2021-08-03 16:01:03 +02:00
2021-08-27 17:13:12 +02:00
2021-08-27 17:13:12 +02:00
2021-06-09 18:37:31 +02:00
2021-10-28 12:14:58 +02:00
2021-10-28 12:29:57 +02:00
2019-05-27 16:33:22 +02:00
2019-05-27 16:33:22 +02:00
2019-11-05 17:59:15 +01:00
2019-05-27 16:33:22 +02:00
2019-11-05 17:59:15 +01:00
2019-05-27 16:33:22 +02:00
2021-10-28 12:29:57 +02:00
2021-10-28 12:14:58 +02:00
2019-05-27 16:33:22 +02:00
2021-10-28 12:14:58 +02:00
2019-05-27 16:33:22 +02:00
2021-10-28 12:14:58 +02:00
2020-01-17 15:42:39 +01:00
2021-10-28 12:29:57 +02:00
2021-10-28 12:14:58 +02:00
2021-10-28 12:24:38 +02:00
2020-06-02 19:01:15 +02:00
2021-08-03 16:01:03 +02:00
2020-09-30 16:10:17 +02:00
2021-10-28 12:24:38 +02:00
2019-05-27 16:33:22 +02:00
2021-10-28 12:24:38 +02:00
2021-08-03 15:59:59 +02:00
2021-06-15 18:04:05 +02:00
2021-10-13 23:06:40 +02:00
2021-06-09 18:37:31 +02:00
2021-10-28 12:14:58 +02:00
2021-10-13 23:06:40 +02:00
2020-06-02 19:01:09 +02:00
2020-06-30 17:09:55 +02:00
2021-10-28 12:14:58 +02:00
2021-08-27 17:19:46 +02:00
2019-05-27 16:33:22 +02:00
2017-05-25 19:35:13 +02:00