2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-09-05 00:35:41 +00:00

Fix up args to printf-like functions (thanks to Pedro Ribiero).

This commit is contained in:
Ted Lemon
1999-10-12 16:00:34 +00:00
parent a414e627d8
commit ab58ff49e0
8 changed files with 44 additions and 29 deletions

View File

@@ -29,6 +29,12 @@
#if !defined (__ISC_DHCP_CDEFS_H__)
#define __ISC_DHCP_CDEFS_H__
/* Delete attributes if not gcc or not the right version of gcc. */
#if !defined(__GNUC__) || __GNUC__ < 2 || \
(__GNUC__ == 2 && __GNUC_MINOR__ < 5)
#define __attribute__(x)
#endif
#if (defined (__GNUC__) || defined (__STDC__)) && !defined (BROKEN_ANSI)
#define PROTO(x) x
#define KandR(x)