diff options
author | Richard Braun <rbraun@sceen.net> | 2018-01-11 20:42:32 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-01-11 21:17:58 +0100 |
commit | e70045fbe4b9536294e3c23aa4d55fa6f1ce3f60 (patch) | |
tree | a9b27ec8cf7fc2b3d456e1c8ada772ddb30d7cf7 /src | |
parent | 5d27130514cded8197b5e25efdd011ae2fb1a09a (diff) |
macros: new __used macro
Diffstat (limited to 'src')
-rw-r--r-- | src/macros.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/macros.h b/src/macros.h index 67b3c46..280759c 100644 --- a/src/macros.h +++ b/src/macros.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2015 Richard Braun. + * Copyright (c) 2009-2018 Richard Braun. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -87,4 +87,8 @@ #define __unused __attribute__((unused)) #endif +#ifndef __used +#define __used __attribute__((used)) +#endif + #endif /* _MACROS_H */ |