summaryrefslogtreecommitdiffstats
path: root/sord
diff options
context:
space:
mode:
Diffstat (limited to 'sord')
-rw-r--r--sord/sord.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/sord/sord.h b/sord/sord.h
index e107438..25d6698 100644
--- a/sord/sord.h
+++ b/sord/sord.h
@@ -38,20 +38,20 @@
#include "serd/serd.h"
#ifdef SORD_SHARED
- #if defined _WIN32 || defined __CYGWIN__
- #define SORD_LIB_IMPORT __declspec(dllimport)
- #define SORD_LIB_EXPORT __declspec(dllexport)
- #else
- #define SORD_LIB_IMPORT __attribute__((visibility("default")))
- #define SORD_LIB_EXPORT __attribute__((visibility("default")))
- #endif
- #ifdef SORD_INTERNAL
- #define SORD_API SORD_LIB_EXPORT
- #else
- #define SORD_API SORD_LIB_IMPORT
- #endif
+# ifdef __WIN32__
+# define SORD_LIB_IMPORT __declspec(dllimport)
+# define SORD_LIB_EXPORT __declspec(dllexport)
+# else
+# define SORD_LIB_IMPORT __attribute__((visibility("default")))
+# define SORD_LIB_EXPORT __attribute__((visibility("default")))
+# endif
+# ifdef SORD_INTERNAL
+# define SORD_API SORD_LIB_EXPORT
+# else
+# define SORD_API SORD_LIB_IMPORT
+# endif
#else
- #define SORD_API
+# define SORD_API
#endif
#ifdef __cplusplus