mirror of https://github.com/zeldaret/mm.git
brief explanation
This commit is contained in:
parent
a679b6bae4
commit
bf960bf288
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
#ifndef PR_OS_INTERNAL_RSP_H
|
||||
#define PR_OS_INTERNAL_RSP_H
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,15 @@
|
|||
#ifndef ATTRIBUTES_H
|
||||
#define ATTRIBUTES_H
|
||||
|
||||
// If not building with a modern GCC-like compiler then make any use of __attribute__ a no-op
|
||||
#if (!defined(__GNUC__) && !defined(__clang__)) || defined(M2CTX) || defined(__sgi)
|
||||
#ifndef __attribute__
|
||||
#define __attribute__(x)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define UNUSED __attribute__((unused))
|
||||
#define FALLTHROUGH __attribute__((fallthrough))
|
||||
#define NORETURN __attribute__((noreturn))
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue