summaryrefslogtreecommitdiffstats
path: root/engines/afalg/e_afalg.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2017-03-30 23:07:26 +0200
committerAndy Polyakov <appro@openssl.org>2017-04-01 15:48:16 +0200
commitafe2f42bfc72017a075c21b3695feeba6db27305 (patch)
treeed5626b01c7cef06c1810223445b50ad1b791d57 /engines/afalg/e_afalg.h
parent845645327dd4b12b6c26c0814502d79740f84028 (diff)
e_afalg.[ch]: fix --strict-warnings with gcc 4.x and 32-bit build.
Reviewed-by: Richard Levitte <levitte@openssl.org> (cherry picked from commit c27778d8adf7fca3128ece0b7efca09f628008b9)
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__)