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:
parent
6b9ba6033e
commit
c8726244ae
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue