diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-12-08 19:20:11 -0700 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:09 +0100 |
commit | f31e9347844d8a708dd166ecfb7d6587d36c3d03 (patch) | |
tree | 1b69d9a836d2d042ad14c495f44313eca08c026f /lib | |
parent | b6c184a11ea35c6c9423d39ae416ed0c69182eb4 (diff) |
Prevent complaint on OSX: "ranlib: file: libgnu.a(dummy.o) has no symbols"
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dummy.c | 2 |
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 |