diff options
Diffstat (limited to 'src/internal.h')
-rw-r--r-- | src/internal.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/internal.h b/src/internal.h index 79b0752..558d267 100644 --- a/src/internal.h +++ b/src/internal.h @@ -5,9 +5,10 @@ #include <stdint.h> #include <stdbool.h> #ifdef HAVE_VISIBILITY_HIDDEN -# define __EXPORTED __attribute__((visibility("default"))) +# define __visible __attribute__((visibility("default"))) +# define EXPORT_SYMBOL(x) typeof(x) (x) __visible #else -# define __EXPORTED +# define EXPORT_SYMBOL #endif struct iphdr; |