diff --git a/src/minigmp_global.h b/src/minigmp_global.h index 560633c..ffefc8b 100644 --- a/src/minigmp_global.h +++ b/src/minigmp_global.h @@ -12,7 +12,7 @@ # define MINIGMPSHARED_EXPORT __declspec(dllexport) #endif -#if defined (linux) || defined (__APPLE__) +#if defined (linux) || defined (__linux__) || defined (__APPLE__) # define MINIGMPSHARED_EXPORT __attribute__((visibility("default"))) #endif