xref: /freebsd/contrib/unbound/compat/memcmp.h (revision 40f65a4df509c6b29b9e72407c7afefe28838844)
1*b7579f77SDag-Erling Smørgrav /*
2*b7579f77SDag-Erling Smørgrav  *	memcmp.h: undef memcmp for compat.
3*b7579f77SDag-Erling Smørgrav  *
4*b7579f77SDag-Erling Smørgrav  *	Copyright (c) 2012, NLnet Labs. All rights reserved.
5*b7579f77SDag-Erling Smørgrav  *
6*b7579f77SDag-Erling Smørgrav  * See LICENSE for the license.
7*b7579f77SDag-Erling Smørgrav */
8*b7579f77SDag-Erling Smørgrav #ifndef COMPAT_MEMCMP_H
9*b7579f77SDag-Erling Smørgrav #define COMPAT_MEMCMP_H
10*b7579f77SDag-Erling Smørgrav 
11*b7579f77SDag-Erling Smørgrav #ifdef memcmp
12*b7579f77SDag-Erling Smørgrav /* undef here otherwise autoheader messes it up in config.h */
13*b7579f77SDag-Erling Smørgrav #  undef memcmp
14*b7579f77SDag-Erling Smørgrav #endif
15*b7579f77SDag-Erling Smørgrav 
16*b7579f77SDag-Erling Smørgrav #endif /* COMPAT_MEMCMP_H */
17