Skip to content

Commit

Permalink
Avoid HDF5 build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisRosenhauer committed Oct 27, 2023
1 parent be7cc28 commit fc0fefe
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions include/libaec.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,12 @@
extern "C"{
#endif

#if BUILDING_LIBAEC && HAVE_VISIBILITY
# define LIBAEC_DLL_EXPORTED __attribute__((__visibility__("default")))
#else
#ifdef BUILDING_LIBAEC
# ifdef HAVE_VISIBILITY
# define LIBAEC_DLL_EXPORTED __attribute__((__visibility__("default")))
# endif
#endif
#ifndef LIBAEC_DLL_EXPORTED
# define LIBAEC_DLL_EXPORTED
#endif

Expand Down

0 comments on commit fc0fefe

Please sign in to comment.