summaryrefslogtreecommitdiff
path: root/lib/md5.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/md5.h')
-rw-r--r--lib/md5.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/md5.h b/lib/md5.h
index 3c6048242b0..c728ba1b6f2 100644
--- a/lib/md5.h
+++ b/lib/md5.h
@@ -40,7 +40,7 @@
#endif
#ifndef __THROW
-# if defined __cplusplus && __GNUC_PREREQ (2,8)
+# if defined __cplusplus && (__GNUC_PREREQ (2,8) || __clang_major__ >= 4)
# define __THROW throw ()
# else
# define __THROW