Wrap remaining __attribute__

We wrap all remaining references to __attribute__ into a macro call to
H_GCC_ATTRIBUTE, to allow compilation with MSVC CL.EXE
This commit is contained in:
Nicolas Léveillé 2015-08-09 18:37:07 +02:00
parent 6b9ba6033e
commit c8726244ae
3 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ struct HCFStack_ {
};
#ifndef UNUSED
#define UNUSED __attribute__((unused))
#define UNUSED H_GCC_ATTRIBUTE((unused))
#endif
static inline HCFChoice* h_cfstack_new_choice_raw(HAllocator *mm__, HCFStack *stk__) UNUSED;