Ice 3.7 C++11 API Reference
Config.h
Go to the documentation of this file.
1 //
2 // Copyright (c) ZeroC, Inc. All rights reserved.
3 //
4 
5 #ifndef GLACIER2_CONFIG_H
6 #define GLACIER2_CONFIG_H
7 
8 //
9 // Automatically link with Glacier2[D|++11|++11D].lib
10 //
11 
12 #if !defined(ICE_BUILDING_GLACIER2) && defined(GLACIER2_API_EXPORTS)
13 # define ICE_BUILDING_GLACIER2
14 #endif
15 
16 #if defined(_MSC_VER) && !defined(ICE_BUILDING_GLACIER2)
17 # pragma comment(lib, ICE_LIBNAME("Glacier2"))
18 #endif
19 
20 #ifndef GLACIER2_API
21 # if defined(ICE_STATIC_LIBS)
22 # define GLACIER2_API
23 # elif defined(GLACIER2_API_EXPORTS)
24 # define GLACIER2_API ICE_DECLSPEC_EXPORT
25 # else
26 # define GLACIER2_API ICE_DECLSPEC_IMPORT
27 # endif
28 #endif
29 
30 #endif