summaryrefslogtreecommitdiff
path: root/cpp/include/Slice/Preprocessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Slice/Preprocessor.h')
-rw-r--r--cpp/include/Slice/Preprocessor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/include/Slice/Preprocessor.h b/cpp/include/Slice/Preprocessor.h
index 11a878f3f64..f38d1039146 100644
--- a/cpp/include/Slice/Preprocessor.h
+++ b/cpp/include/Slice/Preprocessor.h
@@ -15,10 +15,10 @@
#include <vector>
#ifndef SLICE_API
-# ifdef SLICE_API_EXPORTS
-# define SLICE_API ICE_DECLSPEC_EXPORT
-# elif defined(ICE_STATIC_LIBS)
+# if defined(ICE_STATIC_LIBS)
# define SLICE_API /**/
+# elif defined(SLICE_API_EXPORTS)
+# define SLICE_API ICE_DECLSPEC_EXPORT
# else
# define SLICE_API ICE_DECLSPEC_IMPORT
# endif