Index: src/visibility.h =================================================================== --- src/visibility.h +++ src/visibility.h @@ -26,7 +26,9 @@ /* Include the main header here so that public symbols are mapped to the internal underscored ones. */ -#ifdef _GCRY_INCLUDED_BY_VISIBILITY_C +/* All available GCC for SCO OpenServer 5.0.7/3.2 does not support + visibility. */ +#if defined(_GCRY_INCLUDED_BY_VISIBILITY_C) || defined(_SCO_DS) /* We need to redeclare the deprecated functions without the deprecated attribute. */ # define GCRYPT_NO_DEPRECATED @@ -48,7 +50,7 @@ NOTE: When adding new functions, please make sure to add them to libgcrypt.vers and libgcrypt.def as well. */ -#ifdef _GCRY_INCLUDED_BY_VISIBILITY_C +#if defined(_GCRY_INCLUDED_BY_VISIBILITY_C) || defined(_SCO_DS) /* A macro to flag a function as visible. */ #ifdef GCRY_USE_VISIBILITY