Преглед изворни кода

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

Viral B. Shah пре 9 година
родитељ
комит
4ef4170e64
5 измењених фајлова са 15 додато и 15 уклоњено
  1. 3 3
      amd64/bsd_asm.h
  2. 3 3
      amd64/bsd_cdefs.h
  3. 3 3
      amd64/bsd_fpu.h
  4. 3 3
      amd64/bsd_ieeefp.h
  5. 3 3
      i387/bsd_cdefs.h

+ 3 - 3
amd64/bsd_asm.h

@@ -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_ */

+ 3 - 3
amd64/bsd_cdefs.h

@@ -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_ */

+ 3 - 3
amd64/bsd_fpu.h

@@ -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_ */

+ 3 - 3
amd64/bsd_ieeefp.h

@@ -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_ */

+ 3 - 3
i387/bsd_cdefs.h

@@ -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_ */