- Aldebaran documentation |
- C++ Libraries |
- index

libalvalue 2.8.7.4

- Main Page
- Related Pages
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
config.h
Go to the documentation of this file.
1
12 #pragma once
13 #ifndef _LIBALVALUE_ALVALUE_CONFIG_H_
14 #define _LIBALVALUE_ALVALUE_CONFIG_H_
15
16 // For shared library
17 #if defined _WIN32 || defined __CYGWIN__
18 # define ALVALUE_EXPORT_API __declspec(dllexport)
19 # if defined _WINDLL
20 # define ALVALUE_IMPORT_API __declspec(dllimport)
21 # else
22 # define ALVALUE_IMPORT_API
23 # endif
24 #elif __GNUC__ >= 4
25 # define ALVALUE_EXPORT_API __attribute__ ((visibility("default")))
26 # define ALVALUE_IMPORT_API __attribute__ ((visibility("default")))
27 #else
28 # define ALVALUE_EXPORT_API
29 # define ALVALUE_IMPORT_API
30 #endif
31
32 #ifdef alvalue_EXPORTS
33 # define ALVALUE_API ALVALUE_EXPORT_API
34 #elif defined(alvalue_IMPORTS)
35 # define ALVALUE_API ALVALUE_IMPORT_API
36 #else
37 # define ALVALUE_API
38 #endif
39
40 #endif // _LIBALVALUE_ALVALUE_CONFIG_H_
41