diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-02-29 02:55:00 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-02-29 03:27:49 +0100 |
commit | f3d2a5ee1af6fc4e548f02e4bc4e143d7d0c8d90 (patch) | |
tree | 0b9505f57ca42303a80e0d827897823ae07c6977 /src/internal.h |
initial commit
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/internal.h')
-rw-r--r-- | src/internal.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/internal.h b/src/internal.h new file mode 100644 index 0000000..3a88d1a --- /dev/null +++ b/src/internal.h @@ -0,0 +1,12 @@ +#ifndef INTERNAL_H +#define INTERNAL_H 1 + +#include "config.h" +#ifdef HAVE_VISIBILITY_HIDDEN +# define __visible __attribute__((visibility("default"))) +# define EXPORT_SYMBOL(x) typeof(x) (x) __visible +#else +# define EXPORT_SYMBOL +#endif + +#endif |