mcl_config_setup.h
Go to the documentation of this file.
1 /*!**********************************************************************
2  *
3  * @copyright Copyright (C) 2016 Siemens Aktiengesellschaft.\n
4  * All rights reserved.
5  *
6  *************************************************************************
7  *
8  * @file mcl_config_setup.h
9  * @date Jun 30, 2016
10  * @brief Configuration setup module interface header file.
11  *
12  * Configuration setup header for MCL.
13  * This configuration setup should be used by every module which requires external libraries.
14  *
15  ************************************************************************/
16 
17 #ifndef MCL_CONFIG_SETUP_H_
18 #define MCL_CONFIG_SETUP_H_
19 
20 #ifdef __cplusplus
21 extern "C"
22 {
23 #endif
24 
25 #if (defined(_WIN32) || defined(__WIN32__) || defined(_WIN32_WINNT)) && !defined(WIN32)
26 #define WIN32
27 #endif
28 
29 #if (defined(_WIN64) || defined(__WIN64__) || defined(_WIN64_WINNT)) && !defined(WIN64)
30 #define WIN64
31 #endif
32 
33 #if MCL_STATICLIB
34 #define MCL_EXPORT
35 #elif defined(WIN32) || defined(WIN64)
36 
37 # if MCL_BUILD
38 # define MCL_EXPORT __declspec(dllexport)
39 # else
40 # define MCL_EXPORT __declspec(dllimport)
41 # endif
42 #else
43 # define MCL_EXPORT
44 #endif
45 
46 #if MCL_BUILD
47 #include "mcl_config.h"
48 #endif
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif //MCL_CONFIG_SETUP_H_