diff options
author | Benoit Foucher <benoit@zeroc.com> | 2002-10-29 17:55:00 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2002-10-29 17:55:00 +0000 |
commit | c214064a84ab2d988c086fc9da9c2e03d4c06c62 (patch) | |
tree | bbfd2d16ac9f70434a4a8cb683199d13e87ce67c /cpp/include/Slice/Preprocessor.h | |
parent | Fixed the translators to use the icecpp C preprocessor. (diff) | |
download | ice-c214064a84ab2d988c086fc9da9c2e03d4c06c62.tar.bz2 ice-c214064a84ab2d988c086fc9da9c2e03d4c06c62.tar.xz ice-c214064a84ab2d988c086fc9da9c2e03d4c06c62.zip |
Windows fixes
Diffstat (limited to 'cpp/include/Slice/Preprocessor.h')
-rw-r--r-- | cpp/include/Slice/Preprocessor.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/cpp/include/Slice/Preprocessor.h b/cpp/include/Slice/Preprocessor.h index e5ae9c737c9..05342049b6f 100644 --- a/cpp/include/Slice/Preprocessor.h +++ b/cpp/include/Slice/Preprocessor.h @@ -13,10 +13,20 @@ #include <IceUtil/Config.h> +#ifdef _WIN32 +# ifdef SLICE_API_EXPORTS +# define SLICE_API __declspec(dllexport) +# else +# define SLICE_API __declspec(dllimport) +# endif +#else +# define SLICE_API /**/ +#endif + namespace Slice { -class Preprocessor +class SLICE_API Preprocessor { public: |