summaryrefslogtreecommitdiff
path: root/include/kitchensink/kitconfig.h
diff options
context:
space:
mode:
authorTuomas Virtanen <katajakasa@gmail.com>2016-01-08 01:29:36 +0200
committerTuomas Virtanen <katajakasa@gmail.com>2016-01-08 01:29:36 +0200
commitcce3ee047e712f48059ed28b284cf5c194c34de8 (patch)
treeb13dd1a2bb2eb1094d597d30c70002a166caf3ac /include/kitchensink/kitconfig.h
parentd843d120ae3d87548e10f7ee0ded71a301d5d4b3 (diff)
Code dump. Playback & decoding works, but no sync yet.
Diffstat (limited to 'include/kitchensink/kitconfig.h')
-rw-r--r--include/kitchensink/kitconfig.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/kitchensink/kitconfig.h b/include/kitchensink/kitconfig.h
new file mode 100644
index 0000000..e8b2d01
--- /dev/null
+++ b/include/kitchensink/kitconfig.h
@@ -0,0 +1,26 @@
+#ifndef KITCONFIG_H
+#define KITCONFIG_H
+
+#if defined _WIN32 || defined __CYGWIN__
+ #define KIT_DLL_IMPORT __declspec(dllimport)
+ #define KIT_DLL_EXPORT __declspec(dllexport)
+ #define KIT_DLL_LOCAL
+#else
+ #define KIT_DLL_IMPORT __attribute__ ((visibility ("default")))
+ #define KIT_DLL_EXPORT __attribute__ ((visibility ("default")))
+ #define KIT_DLL_LOCAL __attribute__ ((visibility ("hidden")))
+#endif
+
+#ifdef KIT_DLL
+ #ifdef KIT_DLL_EXPORTS
+ #define KIT_API KIT_DLL_EXPORT
+ #else
+ #define KIT_API KIT_DLL_IMPORT
+ #endif
+ #define KIT_LOCAL KIT_DLL_LOCAL
+#else
+ #define KIT_API
+ #define KIT_LOCAL
+#endif
+
+#endif // KITCONFIG_H