aboutsummaryrefslogtreecommitdiff
path: root/include/util/defs.h
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2018-02-19 14:26:40 +1300
committerScott Anderson <ascent12@hotmail.com>2018-02-19 14:26:40 +1300
commit86269052eb7be715eba274dffc30c77c11b8309c (patch)
tree8291d0ee15c75499ad884f629fd630c54f46b8ce /include/util/defs.h
parentf27c0b44b882f7a837906e5b3376ad035cb51445 (diff)
Explicitly export EFL symbols
Diffstat (limited to 'include/util/defs.h')
-rw-r--r--include/util/defs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/util/defs.h b/include/util/defs.h
new file mode 100644
index 00000000..55a21f6b
--- /dev/null
+++ b/include/util/defs.h
@@ -0,0 +1,10 @@
+#ifndef UTIL_DEFS_H
+#define UTIL_DEFS_H
+
+#ifdef __GNUC__
+#define WLR_API __attribute__((visibility("default")))
+#else
+#define WLR_API
+#endif
+
+#endif