blob: 7b8d66c16629eeff1618b4582390ea674ca40354 [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001#ifndef __ARES_BITNCMP_H
2#define __ARES_BITNCMP_H
3
4
5/* Copyright (C) 2005, 2013 by Dominick Meglio
6 *
7 * Permission to use, copy, modify, and distribute this
8 * software and its documentation for any purpose and without
9 * fee is hereby granted, provided that the above copyright
10 * notice appear in all copies and that both that copyright
11 * notice and this permission notice appear in supporting
12 * documentation, and that the name of M.I.T. not be used in
13 * advertising or publicity pertaining to distribution of the
14 * software without specific, written prior permission.
15 * M.I.T. makes no representations about the suitability of
16 * this software for any purpose. It is provided "as is"
17 * without express or implied warranty.
18 */
19
20#ifndef HAVE_BITNCMP
21int ares__bitncmp(const void *l, const void *r, int n);
22#else
23#define ares__bitncmp(x,y,z) bitncmp(x,y,z)
24#endif
25
26#endif /* __ARES_BITNCMP_H */