diff --git a/dcapi/include/dc_common.h b/dcapi/include/dc_common.h index 58a8ce9769..2c983fde91 100644 --- a/dcapi/include/dc_common.h +++ b/dcapi/include/dc_common.h @@ -79,6 +79,10 @@ typedef enum { * Function prototypes */ +#ifndef __GNUC__ +#define __attribute__(x) +#endif + /* Determines the maximum allowed message length. */ int DC_getMaxMessageSize(void);