summaryrefslogtreecommitdiffstats
path: root/engines/afalg/e_afalg.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/afalg/e_afalg.h')
-rw-r--r--engines/afalg/e_afalg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/afalg/e_afalg.h b/engines/afalg/e_afalg.h
index 8f4d2d11f1..948d67e584 100644
--- a/engines/afalg/e_afalg.h
+++ b/engines/afalg/e_afalg.h
@@ -10,6 +10,11 @@
#ifndef HEADER_AFALG_H
# define HEADER_AFALG_H
+# if defined(__GNUC__) && __GNUC__ >= 4 && \
+ (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L)
+# pragma GCC diagnostic ignored "-Wvariadic-macros"
+# endif
+
# ifdef ALG_DEBUG
# define ALG_DGB(x, ...) fprintf(stderr, "ALG_DBG: " x, __VA_ARGS__)
# define ALG_INFO(x, ...) fprintf(stderr, "ALG_INFO: " x, __VA_ARGS__)