mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-28 20:32:18 -05:00
13 lines
273 B
C
13 lines
273 B
C
|
#ifndef ATTRIBUTES_H
|
||
|
#define ATTRIBUTES_H
|
||
|
|
||
|
#if !defined(__GNUC__) && !defined(__attribute__)
|
||
|
#define __attribute__(x)
|
||
|
#endif
|
||
|
|
||
|
#define UNUSED __attribute__((unused))
|
||
|
#define FALLTHROUGH __attribute__((fallthrough))
|
||
|
#define NORETURN __attribute__((noreturn))
|
||
|
|
||
|
#endif
|