# HG changeset patch # User Mike Becker # Date 1642843788 -3600 # Node ID e3469b497effd3be0785e751197c1bc14e6a73d6 # Parent 188942a7308b51e0dec20fcb34560a5c13da222d hide __attribute__ from compilers that may not support it diff -r 188942a7308b -r e3469b497eff src/cx/common.h --- a/src/cx/common.h Tue Dec 28 18:05:14 2021 +0100 +++ b/src/cx/common.h Sat Jan 22 10:29:48 2022 +0100 @@ -108,7 +108,13 @@ #endif #endif /* __WORDSIZE */ #else /* !_WIN32 */ + #include + #endif /* _WIN32 */ +#ifndef __GNUC__ +#define __attribute__(x) +#endif + #endif /* UCX_COMMON_H */