diff options
author | Transporter <ogre.transporter@gmail.com> | 2020-05-02 00:15:17 +0200 |
---|---|---|
committer | Transporter <ogre.transporter@gmail.com> | 2020-05-02 00:15:17 +0200 |
commit | 3b7da8cd1e2f77d73cc19533fc657ba10a80c8cd (patch) | |
tree | cd933546a1bfc38e44c9487c2c4327ed569673bd /include | |
parent | 18421d59708479e3d54eba71518f761ee470256d (diff) |
Fix mistake FOX and reorder EXPORT/IMPORT
Diffstat (limited to 'include')
-rw-r--r-- | include/tgbot/export.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/tgbot/export.h b/include/tgbot/export.h index b38f1fc..1bfb503 100644 --- a/include/tgbot/export.h +++ b/include/tgbot/export.h @@ -4,21 +4,21 @@ #ifndef TGBOT_API #ifdef TGBOT_DLL #if defined _WIN32 || defined __CYGWIN__ - #define TGBOT_HELPER_DLL_IMPORT __declspec(dllimport) #define TGBOT_HELPER_DLL_EXPORT __declspec(dllexport) + #define TGBOT_HELPER_DLL_IMPORT __declspec(dllimport) #else #if __GNUC__ >= 4 - #define TGBOT_HELPER_DLL_IMPORT __attribute__ ((visibility ("default"))) #define TGBOT_HELPER_DLL_EXPORT __attribute__ ((visibility ("default"))) + #define TGBOT_HELPER_DLL_IMPORT __attribute__ ((visibility ("default"))) #else - #define TGBOT_HELPER_DLL_IMPORT #define TGBOT_HELPER_DLL_EXPORT + #define TGBOT_HELPER_DLL_IMPORT #endif #endif #ifdef TgBot_EXPORTS #define TGBOT_API TGBOT_HELPER_DLL_EXPORT #else - #define FOX_API TGBOT_HELPER_DLL_IMPORT + #define TGBOT_API TGBOT_HELPER_DLL_IMPORT #endif #else #define TGBOT_API |