summaryrefslogtreecommitdiff
path: root/cpp/include/Glacier2/Config.h
blob: ef6a4d62cbc0a5a53d0569194d9d8a593baacba1 (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
33
34
35
// **********************************************************************
//
// Copyright (c) 2003-2016 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 GLACIER2_CONFIG_H
#define GLACIER2_CONFIG_H

//
// Automatically link with Glacier2[D|++11|++11D].lib
//

#if !defined(ICE_BUILDING_GLACIER2) && defined(GLACIER2_API_EXPORTS)
#   define ICE_BUILDING_GLACIER2
#endif

#if defined(_MSC_VER) && !defined(ICE_BUILDING_GLACIER2)
#   pragma comment(lib, ICE_LIBNAME("Glacier2"))
#endif

#ifndef GLACIER2_API
#   if defined(ICE_STATIC_LIBS)
#       define GLACIER2_API /**/
#   elif defined(GLACIER2_API_EXPORTS)
#       define GLACIER2_API ICE_DECLSPEC_EXPORT
#   else
#       define GLACIER2_API ICE_DECLSPEC_IMPORT
#   endif
#endif

#endif