Skip to content
Snippets Groups Projects
Verified Commit e22afbc1 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Define __attribute__ for non-gnuc compilers

parent 9b37d1ca
Branches
No related tags found
2 merge requests!33Release 0.1,!32fix windows build
Pipeline #15249 failed
...@@ -22,6 +22,9 @@ ...@@ -22,6 +22,9 @@
#ifndef CAOSDB_CONSTANTS_H #ifndef CAOSDB_CONSTANTS_H
#define CAOSDB_CONSTANTS_H #define CAOSDB_CONSTANTS_H
#ifndef __GNUC__
# define __attribute__(x)
#endif
#ifdef __cplusplus #ifdef __cplusplus
namespace caosdb { namespace caosdb {
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment