Commit a6de959e authored by Sebastian Ramacher's avatar Sebastian Ramacher

Add macro to change visibility to default

parent 8371beb1
......@@ -36,6 +36,14 @@
# endif
#endif
#ifndef GIRARA_VISIBLE
# if (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__)
# define GIRARA_VISIBLE __attribute__((visibility("default")))
# else
# define GIRARA_VISIBLE
# endif
#endif
#ifndef GIRARA_DEPRECATED
# if defined(__GNUC__)
# define GIRARA_DEPRECATED(x) x __attribute__((deprecated))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment