mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Add guard around __printflike
This commit is contained in:
parent
bfd58235c5
commit
8cdcad43c2
@ -75,6 +75,7 @@ static const int debug = 1;
|
|||||||
#define O_EXLOCK O_EXCL
|
#define O_EXLOCK O_EXCL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __printflike
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
/* [->] borrowed from FreeBSD's src/sys/sys/cdefs.h,v 1.102.2.2.2.1 */
|
/* [->] borrowed from FreeBSD's src/sys/sys/cdefs.h,v 1.102.2.2.2.1 */
|
||||||
#define __printflike(fmtarg, firstvararg) \
|
#define __printflike(fmtarg, firstvararg) \
|
||||||
@ -83,6 +84,7 @@ static const int debug = 1;
|
|||||||
#else
|
#else
|
||||||
#define __printflike(fmtarg, firstvararg)
|
#define __printflike(fmtarg, firstvararg)
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* [->] borrowed from FreeBSD's src/sys/sys/systm.h,v 1.276.2.7.4.1 */
|
/* [->] borrowed from FreeBSD's src/sys/sys/systm.h,v 1.276.2.7.4.1 */
|
||||||
#ifndef CTASSERT /* Allow lint to override */
|
#ifndef CTASSERT /* Allow lint to override */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user