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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/include/Slice/Preprocessor.h b/cpp/include/Slice/Preprocessor.h
index 08125e0fb2f..1e109c09e73 100644
--- a/cpp/include/Slice/Preprocessor.h
+++ b/cpp/include/Slice/Preprocessor.h
@@ -17,6 +17,8 @@
#ifndef SLICE_API
# ifdef SLICE_API_EXPORTS
# define SLICE_API ICE_DECLSPEC_EXPORT
+# elif defined(ICE_STATIC_LIBS)
+# define SLICE_API /**/
# else
# define SLICE_API ICE_DECLSPEC_IMPORT
# endif