summaryrefslogtreecommitdiff
path: root/soh/include/attributes.h
blob: f58cc8122d5002c809fa3dfcb910bbaba2430a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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