]>
git.ipfire.org Git - thirdparty/dhcp.git/blob - includes/cdefs.h
02fc7fcd37dd7dd115ead151c495aa13345a89da
3 Standard C definitions... */
6 * Copyright (c) 1995 RadioMail Corporation. All rights reserved.
7 * Copyright (c) 1996-1999 Internet Software Consortium.
9 * Use is subject to license terms which appear in the file named
10 * ISC-LICENSE that should have accompanied this file when you
11 * received it. If a file named ISC-LICENSE did not accompany this
12 * file, or you are not sure the one you have is correct, you may
13 * obtain an applicable copy of the license at:
15 * http://www.isc.org/isc-license-1.0.html.
17 * This file is part of the ISC DHCP distribution. The documentation
18 * associated with this file is listed in the file DOCUMENTATION,
19 * included in the top-level directory of this release.
21 * Support and other services are available for ISC products - see
22 * http://www.isc.org for more information.
24 * This software was written for RadioMail Corporation by Ted Lemon
25 * under a contract with Vixie Enterprises. Further modifications have
26 * been made for the Internet Software Consortium under a contract
27 * with Vixie Laboratories.
30 #if !defined (__ISC_DHCP_CDEFS_H__)
31 #define __ISC_DHCP_CDEFS_H__
32 /* Delete attributes if not gcc or not the right version of gcc. */
33 #if !defined(__GNUC__) || __GNUC__ < 2 || \
34 (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
35 #define __attribute__(x)
38 #if (defined (__GNUC__) || defined (__STDC__)) && !defined (BROKEN_ANSI)
41 #define ANSI_DECL(x) x
42 #if defined (__GNUC__)
52 #endif /* __GNUC__ || __STDC__ */
53 #endif /* __ISC_DHCP_CDEFS_H__ */