haiku/headers/compatibility/bsd/sys/cdefs.h
Ingo Weinhold a9d23be2f3 Don't define "protected" macro in C++ mode.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-29 00:48:57 +00:00

23 lines
414 B
C

/*
* Copyright 2006, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _BSD_SYS_CDEFS_H_
#define _BSD_SYS_CDEFS_H_
#include_next <sys/cdefs.h>
#define __FBSDID(x)
#define __unused
#ifndef __cplusplus
# define protected
#endif
#define __printflike(a, b) __attribute__ ((format (__printf__, (a), (b))))
#define __printf0like(a, b)
#endif /* _BSD_SYS_CDEFS_H_ */