summaryrefslogtreecommitdiff
path: root/include/compression
diff options
context:
space:
mode:
authorDaniel Spangberg <daniels@kemi.uu.se>2013-05-18 15:33:23 (GMT)
committerDaniel Spangberg <daniels@kemi.uu.se>2013-05-18 15:33:23 (GMT)
commit0f36e7de86f181eed7e49eedb3d66a0c6ab6f8cd (patch)
treec08fd77cf53c08c9be5f4156ed94fdde22336a94 /include/compression
parent494702b3a59f3670af8da7acf7e8baf6ae4f7dd4 (diff)
Changes to allow compilation on windows with msvc. Bugfixes.
Diffstat (limited to 'include/compression')
-rw-r--r--include/compression/tng_compress.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/compression/tng_compress.h b/include/compression/tng_compress.h
index 5d43ffc..0858952 100644
--- a/include/compression/tng_compress.h
+++ b/include/compression/tng_compress.h
@@ -19,11 +19,13 @@
#endif /* win32... */
#endif /* not defined USE_WINDOWS */
+#ifndef DECLSPECDLLEXPORT
#ifdef USE_WINDOWS
#define DECLSPECDLLEXPORT __declspec(dllexport)
-#else
+#else /* USE_WINDOWS */
#define DECLSPECDLLEXPORT
-#endif
+#endif /* USE_WINDOWS */
+#endif /* DECLSPECDLLEXPORT */
#ifdef __cplusplus
extern "C" {
contact: Jan Huwald // Impressum