summaryrefslogtreecommitdiff
path: root/cpp/include/Slice/Parser.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2016-05-09 18:16:00 +0200
committerBenoit Foucher <benoit@zeroc.com>2016-05-09 18:16:00 +0200
commit657439e9c232c0f672891f604cc21892434961bf (patch)
tree466c5ddf47e4338bed1637840ca0bbfe6e21a53d /cpp/include/Slice/Parser.h
parentFix for ICE-7132 - Missing -DICE_STATIC_LIBS (diff)
downloadice-657439e9c232c0f672891f604cc21892434961bf.tar.bz2
ice-657439e9c232c0f672891f604cc21892434961bf.tar.xz
ice-657439e9c232c0f672891f604cc21892434961bf.zip
Another fix for ICE-7132
Diffstat (limited to 'cpp/include/Slice/Parser.h')
-rw-r--r--cpp/include/Slice/Parser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/include/Slice/Parser.h b/cpp/include/Slice/Parser.h
index 3dfcc41f1ba..9441e0793b9 100644
--- a/cpp/include/Slice/Parser.h
+++ b/cpp/include/Slice/Parser.h
@@ -33,10 +33,10 @@
#endif
#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