glib/gmodule
Philip Withnall 7b52ccbfc4 Revert "gio, glib: Use G_OS_DARWIN for code that is for such environments"
This reverts commit 476e33c3f3.

We’ve decided to remove `G_OS_DARWIN` in favour of recommending people
use `__APPLE__` instead. As per the discussion on #2802 and linked
issues,
 * Adding a new define shifts the complexity from “which of these
   platform-provided defines do I use” to “which platform-provided
   defines does G_OS_DARWIN use”
 * There should ideally be no cases where a user of GLib has to use
   their own platform-specific code, since GLib should be providing
   appropriate abstractions
 * Providing a single `G_OS_DARWIN` to cover all Apple products (macOS
   and iOS) hides the complexity of what the user is actually testing:
   are they testing for the Mach kernel, the Carbon and/or Cocoa user
   space toolkits, macOS vs iOS vs tvOS, etc

Helps: #2802
2022-11-07 11:30:32 +00:00
..
tests meson: Use test setup environment instead of repeating it everywhere 2022-10-31 14:08:31 +01:00
AUTHORS initial import of gmodule. 1998-08-09 08:32:18 +00:00
COPYING docs: Add all used licenses in a REUSE-compatible directory 2022-05-17 17:23:34 +01:00
gmodule-ar.c Improve g_module_open(), deprecate G_MODULE_SUFFIX 2022-10-27 20:26:53 +05:30
gmodule-deprecated.c Improve g_module_open(), deprecate G_MODULE_SUFFIX 2022-10-27 20:26:53 +05:30
gmodule-dl.c Merge branch 'nirbheek/gmodule-suffix-deprecation' into 'main' 2022-10-27 16:27:42 +00:00
gmodule-win32.c Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
gmodule.c Revert "gio, glib: Use G_OS_DARWIN for code that is for such environments" 2022-11-07 11:30:32 +00:00
gmodule.h Improve g_module_open(), deprecate G_MODULE_SUFFIX 2022-10-27 20:26:53 +05:30
gmodule.rc.in meson: build Windows resource files 2018-01-04 22:19:30 +01:00
gmoduleconf.h.in Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
meson.build Merge branch 'wip/3v1n0/some-meson-fixmes' into 'main' 2022-11-01 23:36:04 +00:00