aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/dummy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dummy.c b/lib/dummy.c
index 0f9a2779..deffd32b 100644
--- a/lib/dummy.c
+++ b/lib/dummy.c
@@ -32,7 +32,7 @@
Compiling this file, and adding its object file to the library, will
prevent the library from exporting no symbols. */
-#ifdef __sun
+#if defined __sun || defined __APPLE__
/* This declaration ensures that the library will export at least 1 symbol. */
int gl_dummy_symbol;
#else