Closed BurningEnlightenment closed 8 years ago
This looks good, thanks. Can you further replace _DLL_IMPORT
by BLAKE2_DLL_IMPORT
, along with the other 2 similar macros? These definitions are in the main include file, and may also cause collisions when included along other libraries.
Can you further replace _DLL_IMPORT by BLAKE2_DLL_IMPORT, along with the other 2 similar macros? These definitions are in the main include file, and may also cause collisions when included along other libraries.
@sneves I fixed it.
Export symbols as recommended by the https://gcc.gnu.org/wiki/Visibility Step-by-Step Guide.
The symbols EXPORT_DLL, DYNAMIC_LIB_EXPORT and DYNAMIC_LIB are way too generic and will likely cause name clashes if libb2 is used within a larger project which imports multiple external libraries.