Go to the documentation of this file.
13 #ifndef _LIBALERROR_ALERROR_CONFIG_H_
14 #define _LIBALERROR_ALERROR_CONFIG_H_
16 #if defined _WIN32 || defined __CYGWIN__
17 # define ALERROR_EXPORT_API __declspec(dllexport)
19 # define ALERROR_IMPORT_API __declspec(dllimport)
21 # define ALERROR_IMPORT_API
24 # define ALERROR_EXPORT_API __attribute__ ((visibility("default")))
25 # define ALERROR_IMPORT_API __attribute__ ((visibility("default")))
27 # define ALERROR_EXPORT_API
28 # define ALERROR_IMPORT_API
31 #ifdef alerror_EXPORTS
32 # define ALERROR_API ALERROR_EXPORT_API
33 #elif defined(alerror_IMPORTS)
34 # define ALERROR_API ALERROR_IMPORT_API
40 #if defined(__GNUC__) && defined(WITH_DEPRECATED) && !defined(QI_NO_API_DEPRECATED)
41 # define QI_API_DEPRECATED __attribute__((deprecated))
42 #elif defined(_MSC_VER) && defined(WITH_DEPRECATED) && !defined(QI_NO_API_DEPRECATED)
43 # define QI_API_DEPRECATED __declspec(deprecated)
45 # define QI_API_DEPRECATED
48 #endif // _LIBALERROR_ALERROR_CONFIG_H_