aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/methods.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/methods.h')
-rw-r--r--src/test/methods.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/methods.h b/src/test/methods.h
index a80b02e..8e99921 100644
--- a/src/test/methods.h
+++ b/src/test/methods.h
@@ -19,6 +19,10 @@
#define LIBGAMMA_TEST_METHODS_H
+#ifndef __GNUC__
+# define __attribute__()
+#endif
+
/**
* Get the name representation of an
* adjustment method by its identifier.