libalerror
1.14.5
|
00001 00012 #pragma once 00013 #ifndef _LIBALERROR_ALERROR_CONFIG_H_ 00014 #define _LIBALERROR_ALERROR_CONFIG_H_ 00015 00016 #if defined _WIN32 || defined __CYGWIN__ 00017 # define ALERROR_EXPORT_API __declspec(dllexport) 00018 # if defined _WINDLL 00019 # define ALERROR_IMPORT_API __declspec(dllimport) 00020 # else 00021 # define ALERROR_IMPORT_API 00022 # endif 00023 #elif __GNUC__ >= 4 00024 # define ALERROR_EXPORT_API __attribute__ ((visibility("default"))) 00025 # define ALERROR_IMPORT_API __attribute__ ((visibility("default"))) 00026 #else 00027 # define ALERROR_EXPORT_API 00028 # define ALERROR_IMPORT_API 00029 #endif 00030 00031 #ifdef alerror_EXPORTS 00032 # define ALERROR_API ALERROR_EXPORT_API 00033 #elif defined(alerror_IMPORTS) 00034 # define ALERROR_API ALERROR_IMPORT_API 00035 #else 00036 # define ALERROR_API 00037 #endif 00038 00039 // Deprecated 00040 #if defined(__GNUC__) && defined(WITH_DEPRECATED) && !defined(QI_NO_API_DEPRECATED) 00041 # define QI_API_DEPRECATED __attribute__((deprecated)) 00042 #elif defined(_MSC_VER) && defined(WITH_DEPRECATED) && !defined(QI_NO_API_DEPRECATED) 00043 # define QI_API_DEPRECATED __declspec(deprecated) 00044 #else 00045 # define QI_API_DEPRECATED 00046 #endif 00047 00048 #endif // _LIBALERROR_ALERROR_CONFIG_H_ 00049