From e22afbc1eab7dd58f05de83b4d5c7817a3fc0b09 Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Wed, 27 Oct 2021 16:37:32 +0200 Subject: [PATCH] Define __attribute__ for non-gnuc compilers --- include/caosdb/constants.h.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/caosdb/constants.h.in b/include/caosdb/constants.h.in index fcc0f70..a42c9df 100644 --- a/include/caosdb/constants.h.in +++ b/include/caosdb/constants.h.in @@ -22,6 +22,9 @@ #ifndef CAOSDB_CONSTANTS_H #define CAOSDB_CONSTANTS_H +#ifndef __GNUC__ +# define __attribute__(x) +#endif #ifdef __cplusplus namespace caosdb { #endif -- GitLab