src/cx/common.h

changeset 493
e3469b497eff
parent 487
4bd19279778c
child 503
a89857072ace
--- 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 <sys/types.h>
+
 #endif /* _WIN32 */
 
+#ifndef __GNUC__
+#define __attribute__(x)
+#endif
+
 #endif /* UCX_COMMON_H */

mercurial