diff options
author | Bernard Normier <bernard@zeroc.com> | 2003-04-17 03:15:58 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2003-04-17 03:15:58 +0000 |
commit | 3176b44a88bfe6058159d5a24d160f57e960615c (patch) | |
tree | cb3ed89fa04355aec4433687b9a6dc81528cbd31 /cpp/include/Slice/Parser.h | |
parent | file FactoryTableDef.cpp was initially added on branch slicing. (diff) | |
download | ice-3176b44a88bfe6058159d5a24d160f57e960615c.tar.bz2 ice-3176b44a88bfe6058159d5a24d160f57e960615c.tar.xz ice-3176b44a88bfe6058159d5a24d160f57e960615c.zip |
Macro reorg/cleanup
Diffstat (limited to 'cpp/include/Slice/Parser.h')
-rw-r--r-- | cpp/include/Slice/Parser.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cpp/include/Slice/Parser.h b/cpp/include/Slice/Parser.h index 858a4efdbc3..ec7bee1a22d 100644 --- a/cpp/include/Slice/Parser.h +++ b/cpp/include/Slice/Parser.h @@ -25,14 +25,12 @@ #include <map> #include <set> -#ifdef _WIN32 +#ifndef SLICE_API # ifdef SLICE_API_EXPORTS -# define SLICE_API __declspec(dllexport) +# define SLICE_API ICE_DECLSPEC_EXPORT # else -# define SLICE_API __declspec(dllimport) +# define SLICE_API ICE_DECLSPEC_IMPORT # endif -#else -# define SLICE_API /**/ #endif namespace Slice |