summaryrefslogtreecommitdiff
path: root/gir/glib-2.0.c
diff options
context:
space:
mode:
Diffstat (limited to 'gir/glib-2.0.c')
-rw-r--r--gir/glib-2.0.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c
index 2e972a1f..e99535dc 100644
--- a/gir/glib-2.0.c
+++ b/gir/glib-2.0.c
@@ -4441,18 +4441,6 @@
/**
- * G_OS_DARWIN:
- *
- * This macro is defined only on Apple operating systems (macOS or iOS).
- * So you can bracket Apple-specific code in `\#ifdef G_OS_DARWIN`.
- *
- * Note that %G_OS_UNIX is also set.
- *
- * Since: 2.76
- */
-
-
-/**
* G_OS_UNIX:
*
* This macro is defined only on UNIX. So you can bracket
@@ -4466,13 +4454,10 @@
* - Linux kernel and GNU user-space: `\#if defined(__linux__) && defined(__GLIBC__)`
* - FreeBSD kernel (any libc, including glibc): `\#ifdef __FreeBSD_kernel__`
* - FreeBSD kernel and user-space: `\#ifdef __FreeBSD__`
+ * - Apple operating systems (macOS, iOS, tvOS), regardless of whether
+ * Cocoa/Carbon toolkits are available: `\#ifdef __APPLE__`
*
* See <https://sourceforge.net/p/predef/wiki/OperatingSystems/> for more.
- *
- * GLib defines OS-detection macros for some categories of systems
- * that can be less straightforward to detect, such as %G_OS_DARWIN, but
- * intentionally does not provide its own equivalents of macros like
- * `__linux__`.
*/