summaryrefslogtreecommitdiff
path: root/gmodule/gmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'gmodule/gmodule.c')
-rw-r--r--gmodule/gmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c
index 9f9e1a042..00a2c055f 100644
--- a/gmodule/gmodule.c
+++ b/gmodule/gmodule.c
@@ -618,7 +618,7 @@ g_module_open_full (const gchar *file_name,
* .dylib and .dll in those cases. */
prefixes[prefix_idx++] = "";
#endif
- #ifdef G_OS_DARWIN
+ #ifdef __APPLE__
if (!g_str_has_suffix (basename, ".dylib") &&
!g_str_has_suffix (basename, ".so"))
{