summaryrefslogtreecommitdiff
path: root/cpp/include/IcePatch2/Config.h
blob: 12457f45e7ab4233c410df343b06fe2acae7fa2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// **********************************************************************
//
// Copyright (c) 2003-2015 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

//
// Automatically link with IcePatch2[D].lib
//

#if !defined(ICE_BUILDING_ICE_PATCH2) && defined(ICE_PATCH2_API_EXPORTS)
#   define ICE_BUILDING_ICE_PATCH2
#endif

#ifdef _MSC_VER
#   if !defined(ICE_BUILDING_ICE_PATCH2)
#      if defined(_DEBUG) && !defined(ICE_OS_WINRT)
#          pragma comment(lib, "IcePatch2D.lib")
#      else
#          pragma comment(lib, "IcePatch2.lib")
#      endif
#   endif
#endif

#endif