diff options
Diffstat (limited to 'libadhocutil/visibility.h')
-rw-r--r-- | libadhocutil/visibility.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libadhocutil/visibility.h b/libadhocutil/visibility.h new file mode 100644 index 0000000..63378b7 --- /dev/null +++ b/libadhocutil/visibility.h @@ -0,0 +1,8 @@ +#ifndef DLL_PUBLIC +#define DLL_PUBLIC __attribute__ ((visibility ("default"))) +#endif + +#ifndef DLL_PRIVATE +#define DLL_PRIVATE __attribute__ ((visibility ("hidden"))) +#endif + |