- Timestamp:
- Feb 7, 2019, 8:36:33 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_rx/trunk/wolfssl-3.12.2/wolfssl/wolfcrypt/visibility.h
r337 r372 28 28 29 29 /* for compatibility and so that fips is using same name of macro @wc_fips */ 30 #ifdef HAVE_FIPS 30 /* The following visibility wrappers are for old FIPS. New FIPS should use 31 * the same as a non-FIPS build. */ 32 #if defined(HAVE_FIPS) && \ 33 (!defined(HAVE_FIPS_VERSION) || (HAVE_FIPS_VERSION < 2)) 31 34 #include <cyassl/ctaocrypt/visibility.h> 32 35 #define WOLFSSL_API CYASSL_API … … 41 44 42 45 #if defined(BUILDING_WOLFSSL) 43 #if defined(HAVE_VISIBILITY) && HAVE_VISIBILITY 44 #define WOLFSSL_API __attribute__ ((visibility("default"))) 45 #define WOLFSSL_LOCAL __attribute__ ((visibility("hidden"))) 46 #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) 47 #define WOLFSSL_API __global 48 #define WOLFSSL_LOCAL __hidden 49 #elif defined(_MSC_VER) || defined(__MINGW32__) 46 #if defined(_MSC_VER) || defined(__MINGW32__) 50 47 #if defined(WOLFSSL_DLL) 51 48 #define WOLFSSL_API __declspec(dllexport) … … 54 51 #endif 55 52 #define WOLFSSL_LOCAL 53 #elif defined(HAVE_VISIBILITY) && HAVE_VISIBILITY 54 #define WOLFSSL_API __attribute__ ((visibility("default"))) 55 #define WOLFSSL_LOCAL __attribute__ ((visibility("hidden"))) 56 #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) 57 #define WOLFSSL_API __global 58 #define WOLFSSL_LOCAL __hidden 56 59 #else 57 60 #define WOLFSSL_API
Note:
See TracChangeset
for help on using the changeset viewer.