mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-07 08:28:06 +02:00
xproto: Cygwin GCC does not support visibility attributes
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
ec13f2cc5a
commit
d02f4b1244
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ in this Software without prior written authorization from The Open Group.
|
|||
# define _X_ATTRIBUTE_PRINTF(x,y)
|
||||
#endif /* GNUC >= 4 */
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 4)
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__CYGWIN__)
|
||||
# define _X_EXPORT __attribute__((visibility("default")))
|
||||
# define _X_HIDDEN __attribute__((visibility("hidden")))
|
||||
# define _X_INTERNAL __attribute__((visibility("internal")))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue