aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler.h')
-rw-r--r--src/compiler.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/compiler.h b/src/compiler.h
new file mode 100644
index 0000000..de721d9
--- /dev/null
+++ b/src/compiler.h
@@ -0,0 +1,10 @@
+#ifndef __COMPILER_H__
+#define __COMPILER_H__
+
+#ifdef __GNUC__
+#define UNUSED __attribute__((unused))
+#else
+#define UNUSED
+#endif
+
+#endif