Change some #ifdefs to be different than the system ones.

This commit is contained in:
Viral B. Shah 2016-02-27 19:52:44 +05:30
parent 31335a9de6
commit 4ef4170e64
5 changed files with 15 additions and 15 deletions

View file

@ -33,8 +33,8 @@
* $FreeBSD: src/sys/amd64/include/asm.h,v 1.18 2007/08/22 04:26:07 jkoshy Exp $
*/
#ifndef _MACHINE_ASM_H_
#define _MACHINE_ASM_H_
#ifndef _BSD_ASM_H_
#define _BSD_ASM_H_
#ifdef __APPLE__
#include "../i387/osx_asm.h"
@ -107,4 +107,4 @@
#endif /* not lint and not STRIP_FBSDID */
#endif
#endif /* !_MACHINE_ASM_H_ */
#endif /* !_BSD_ASM_H_ */

View file

@ -33,8 +33,8 @@
* $FreeBSD: src/sys/sys/cdefs.h,v 1.114 2011/02/18 21:44:53 nwhitehorn Exp $
*/
#ifndef _SYS_CDEFS_H_
#define _SYS_CDEFS_H_
#ifndef _BSD_CDEFS_H_
#define _BSD_CDEFS_H_
#if defined(__cplusplus)
#define __BEGIN_DECLS extern "C" {
@ -574,4 +574,4 @@
#endif
#endif
#endif /* !_SYS_CDEFS_H_ */
#endif /* !_BSD_CDEFS_H_ */

View file

@ -38,8 +38,8 @@
* W. Jolitz 1/90
*/
#ifndef _X86_FPU_H_
#define _X86_FPU_H_
#ifndef _BSD_FPU_H_
#define _BSD_FPU_H_
#include "types-compat.h"
@ -215,4 +215,4 @@ struct savefpu_ymm {
#define __INITIAL_MXCSR__ 0x1F80
#define __INITIAL_MXCSR_MASK__ 0xFFBF
#endif /* !_X86_FPU_H_ */
#endif /* !_BSD_FPU_H_ */

View file

@ -35,8 +35,8 @@
* IEEE floating point type and constant definitions.
*/
#ifndef _MACHINE_IEEEFP_H_
#define _MACHINE_IEEEFP_H_
#ifndef _BSD_IEEEFP_H_
#define _BSD_IEEEFP_H_
/*
* FP rounding modes
@ -269,4 +269,4 @@ __END_DECLS
#endif /* !__IEEEFP_NOINLINES__ && !__cplusplus && __GNUCLIKE_ASM
&& __CC_SUPPORTS___INLINE__ */
#endif /* !_MACHINE_IEEEFP_H_ */
#endif /* !_BSD_IEEEFP_H_ */

View file

@ -33,8 +33,8 @@
* $FreeBSD: src/sys/sys/cdefs.h,v 1.114 2011/02/18 21:44:53 nwhitehorn Exp $
*/
#ifndef _SYS_CDEFS_H_
#define _SYS_CDEFS_H_
#ifndef _BSD_CDEFS_H_
#define _BSD_CDEFS_H_
#if defined(__cplusplus)
#define __BEGIN_DECLS extern "C" {
@ -574,4 +574,4 @@
#endif
#endif
#endif /* !_SYS_CDEFS_H_ */
#endif /* !_BSD_CDEFS_H_ */