25 #ifndef CTAO_CRYPT_VISIBILITY_H 26 #define CTAO_CRYPT_VISIBILITY_H 30 #include <wolfssl/wolfcrypt/visibility.h> 31 #define CYASSL_API WOLFSSL_API 32 #define CYASSL_LOCAL WOLFSSL_LOCAL 40 #if defined(BUILDING_WOLFSSL) 41 #if defined(HAVE_VISIBILITY) && HAVE_VISIBILITY 42 #define CYASSL_API __attribute__ ((visibility("default"))) 43 #define CYASSL_LOCAL __attribute__ ((visibility("hidden"))) 44 #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) 45 #define CYASSL_API __global 46 #define CYASSL_LOCAL __hidden 47 #elif defined(_MSC_VER) 49 #define CYASSL_API extern __declspec(dllexport) 61 #define CYASSL_API extern __declspec(dllimport)