diff options
Diffstat (limited to 'cpp/include/IcePatch2/Config.h')
-rw-r--r-- | cpp/include/IcePatch2/Config.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cpp/include/IcePatch2/Config.h b/cpp/include/IcePatch2/Config.h new file mode 100644 index 00000000000..6626a5f8dc4 --- /dev/null +++ b/cpp/include/IcePatch2/Config.h @@ -0,0 +1,29 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#ifndef ICE_PATCH2_CONFIG_H +#define ICE_PATCH2_CONFIG_H + +#ifdef _MSC_VER +// +// Automatically link with IcePatch2[D].lib +// +# if defined(ICE_STATIC_LIBS) +# pragma comment(lib, "IcePatch2.lib") +# elif !defined(ICE_PATCH2_API_EXPORTS) +# if defined(_DEBUG) +# pragma comment(lib, "IcePatch2D.lib") +# else +# pragma comment(lib, "IcePatch2.lib") +# endif +# endif +#endif + +#endif + |