Skip to content

Commit 4ef4170

Browse files
committed
Change some #ifdefs to be different than the system ones.
1 parent 31335a9 commit 4ef4170

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

amd64/bsd_asm.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
* $FreeBSD: src/sys/amd64/include/asm.h,v 1.18 2007/08/22 04:26:07 jkoshy Exp $
3434
*/
3535

36-
#ifndef _MACHINE_ASM_H_
37-
#define _MACHINE_ASM_H_
36+
#ifndef _BSD_ASM_H_
37+
#define _BSD_ASM_H_
3838

3939
#ifdef __APPLE__
4040
#include "../i387/osx_asm.h"
@@ -107,4 +107,4 @@
107107
#endif /* not lint and not STRIP_FBSDID */
108108

109109
#endif
110-
#endif /* !_MACHINE_ASM_H_ */
110+
#endif /* !_BSD_ASM_H_ */

amd64/bsd_cdefs.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
* $FreeBSD: src/sys/sys/cdefs.h,v 1.114 2011/02/18 21:44:53 nwhitehorn Exp $
3434
*/
3535

36-
#ifndef _SYS_CDEFS_H_
37-
#define _SYS_CDEFS_H_
36+
#ifndef _BSD_CDEFS_H_
37+
#define _BSD_CDEFS_H_
3838

3939
#if defined(__cplusplus)
4040
#define __BEGIN_DECLS extern "C" {
@@ -574,4 +574,4 @@
574574
#endif
575575
#endif
576576

577-
#endif /* !_SYS_CDEFS_H_ */
577+
#endif /* !_BSD_CDEFS_H_ */

amd64/bsd_fpu.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
* W. Jolitz 1/90
3939
*/
4040

41-
#ifndef _X86_FPU_H_
42-
#define _X86_FPU_H_
41+
#ifndef _BSD_FPU_H_
42+
#define _BSD_FPU_H_
4343

4444
#include "types-compat.h"
4545

@@ -215,4 +215,4 @@ struct savefpu_ymm {
215215
#define __INITIAL_MXCSR__ 0x1F80
216216
#define __INITIAL_MXCSR_MASK__ 0xFFBF
217217

218-
#endif /* !_X86_FPU_H_ */
218+
#endif /* !_BSD_FPU_H_ */

amd64/bsd_ieeefp.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
* IEEE floating point type and constant definitions.
3636
*/
3737

38-
#ifndef _MACHINE_IEEEFP_H_
39-
#define _MACHINE_IEEEFP_H_
38+
#ifndef _BSD_IEEEFP_H_
39+
#define _BSD_IEEEFP_H_
4040

4141
/*
4242
* FP rounding modes
@@ -269,4 +269,4 @@ __END_DECLS
269269
#endif /* !__IEEEFP_NOINLINES__ && !__cplusplus && __GNUCLIKE_ASM
270270
&& __CC_SUPPORTS___INLINE__ */
271271

272-
#endif /* !_MACHINE_IEEEFP_H_ */
272+
#endif /* !_BSD_IEEEFP_H_ */

i387/bsd_cdefs.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
* $FreeBSD: src/sys/sys/cdefs.h,v 1.114 2011/02/18 21:44:53 nwhitehorn Exp $
3434
*/
3535

36-
#ifndef _SYS_CDEFS_H_
37-
#define _SYS_CDEFS_H_
36+
#ifndef _BSD_CDEFS_H_
37+
#define _BSD_CDEFS_H_
3838

3939
#if defined(__cplusplus)
4040
#define __BEGIN_DECLS extern "C" {
@@ -574,4 +574,4 @@
574574
#endif
575575
#endif
576576

577-
#endif /* !_SYS_CDEFS_H_ */
577+
#endif /* !_BSD_CDEFS_H_ */

0 commit comments

Comments
 (0)