libport: Mark internal functions and data tables as hidden.

Alexandre Julliard julliard at winehq.org
Thu Mar 3 06:32:39 CST 2016


Francois Gouget <fgouget at free.fr> writes:

> * Another option would be to check for __sun in winnt.h:
>
>   -#elif defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))
>   +#elif defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3))) && !defined(__sun)
>
>   The drawback is it means we will never use the visibility attribute on 
>   Solaris, even if it is supported (one day or in some configuration). 
>   That's probably a very minor drawback and it seems like the simplest 
>   solution so maybe this would make sense.

Yes, that would be fine.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list