diff options
author | Pierre Joye <pierre.php@gmail.com> | 2015-01-19 06:35:20 +0100 |
---|---|---|
committer | Pierre Joye <pierre.php@gmail.com> | 2015-01-19 06:35:20 +0100 |
commit | f680978aa8a83957027d6a339a1e22c62853fd15 (patch) | |
tree | 8917a266384a8648bb7fe9bb690352e7bceaad37 /src/gd.h | |
parent | b1267265251cc40a1ee601e5761854b453ac5c4e (diff) | |
download | libgd-f680978aa8a83957027d6a339a1e22c62853fd15.tar.gz |
fix #94, HAVE_VISIBILITY may be defined but set to 0
Diffstat (limited to 'src/gd.h')
-rw-r--r-- | src/gd.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -65,7 +65,7 @@ extern "C" { # define BGD_STDCALL __stdcall # define BGD_EXPORT_DATA_IMPL #else -# ifdef HAVE_VISIBILITY +# ifdef HAVE_VISIBILITY && HAVE_VISIBILITY==1 # define BGD_EXPORT_DATA_PROT __attribute__ ((visibility ("default"))) # define BGD_EXPORT_DATA_IMPL __attribute__ ((visibility ("hidden"))) # else |