aboutsummaryrefslogtreecommitdiff
path: root/lib/dummy.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-12-08 19:20:11 -0700
committerThomas White <taw@physics.org>2012-02-22 15:27:09 +0100
commitf31e9347844d8a708dd166ecfb7d6587d36c3d03 (patch)
tree1b69d9a836d2d042ad14c495f44313eca08c026f /lib/dummy.c
parentb6c184a11ea35c6c9423d39ae416ed0c69182eb4 (diff)
Prevent complaint on OSX: "ranlib: file: libgnu.a(dummy.o) has no symbols"
Diffstat (limited to 'lib/dummy.c')
-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