3 Standard C definitions... */
6 * Copyright (c) 1995 RadioMail Corporation. All rights reserved.
7 * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
8 * Copyright (c) 1996-2003 by Internet Software Consortium
10 * Permission to use, copy, modify, and distribute this software for any
11 * purpose with or without fee is hereby granted, provided that the above
12 * copyright notice and this permission notice appear in all copies.
14 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
15 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
16 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
17 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
18 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
19 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
20 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 * Internet Systems Consortium, Inc.
24 * Redwood City, CA 94063
28 * This software was written for RadioMail Corporation by Ted Lemon
29 * under a contract with Vixie Enterprises. Further modifications have
30 * been made for Internet Systems Consortium under a contract
31 * with Vixie Laboratories.
34 #if !defined (__ISC_DHCP_CDEFS_H__)
35 #define __ISC_DHCP_CDEFS_H__
36 /* Delete attributes if not gcc or not the right version of gcc. */
37 #if !defined(__GNUC__) || __GNUC__ < 2 || \
38 (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || defined (darwin)
39 #define __attribute__(x)
42 #if (defined (__GNUC__) || defined (__STDC__)) && !defined (BROKEN_ANSI)
45 #define ANSI_DECL(x) x
46 #if defined (__GNUC__)
56 #endif /* __GNUC__ || __STDC__ */
57 #endif /* __ISC_DHCP_CDEFS_H__ */