aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/compat/memcmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'external/unbound/compat/memcmp.h')
-rw-r--r--external/unbound/compat/memcmp.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/external/unbound/compat/memcmp.h b/external/unbound/compat/memcmp.h
new file mode 100644
index 000000000..c1d195ccf
--- /dev/null
+++ b/external/unbound/compat/memcmp.h
@@ -0,0 +1,16 @@
+/*
+ * memcmp.h: undef memcmp for compat.
+ *
+ * Copyright (c) 2012, NLnet Labs. All rights reserved.
+ *
+ * See LICENSE for the license.
+*/
+#ifndef COMPAT_MEMCMP_H
+#define COMPAT_MEMCMP_H
+
+#ifdef memcmp
+/* undef here otherwise autoheader messes it up in config.h */
+# undef memcmp
+#endif
+
+#endif /* COMPAT_MEMCMP_H */