summaryrefslogtreecommitdiff
path: root/src/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h6
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 */