aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_method_count.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgamma_method_count.c')
-rw-r--r--libgamma_method_count.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libgamma_method_count.c b/libgamma_method_count.c
index 34dd4fa..1f66e86 100644
--- a/libgamma_method_count.c
+++ b/libgamma_method_count.c
@@ -2,6 +2,8 @@
#include "common.h"
+#define X(...) +1
+
/**
* The number adjustment methods provided by the
* version this library the program is linked
@@ -10,4 +12,6 @@
* This number includes both compile-time enabled
* and compile-time disabled adjustment methods
*/
-const int libgamma_method_count = LIBGAMMA_METHOD_COUNT;
+const int libgamma_method_count = LIST_METHODS(X);
+
+#undef X