Skip to content

Commit

Permalink
Change some #ifdefs to be different than the system ones.
Browse files Browse the repository at this point in the history
  • Loading branch information
ViralBShah committed Feb 27, 2016
1 parent 31335a9 commit 4ef4170
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions amd64/bsd_asm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -107,4 +107,4 @@
#endif /* not lint and not STRIP_FBSDID */

#endif
#endif /* !_MACHINE_ASM_H_ */
#endif /* !_BSD_ASM_H_ */
6 changes: 3 additions & 3 deletions amd64/bsd_cdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down Expand Up @@ -574,4 +574,4 @@
#endif
#endif

#endif /* !_SYS_CDEFS_H_ */
#endif /* !_BSD_CDEFS_H_ */
6 changes: 3 additions & 3 deletions amd64/bsd_fpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -215,4 +215,4 @@ struct savefpu_ymm {
#define __INITIAL_MXCSR__ 0x1F80
#define __INITIAL_MXCSR_MASK__ 0xFFBF

#endif /* !_X86_FPU_H_ */
#endif /* !_BSD_FPU_H_ */
6 changes: 3 additions & 3 deletions amd64/bsd_ieeefp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -269,4 +269,4 @@ __END_DECLS
#endif /* !__IEEEFP_NOINLINES__ && !__cplusplus && __GNUCLIKE_ASM
&& __CC_SUPPORTS___INLINE__ */

#endif /* !_MACHINE_IEEEFP_H_ */
#endif /* !_BSD_IEEEFP_H_ */
6 changes: 3 additions & 3 deletions i387/bsd_cdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down Expand Up @@ -574,4 +574,4 @@
#endif
#endif

#endif /* !_SYS_CDEFS_H_ */
#endif /* !_BSD_CDEFS_H_ */

0 comments on commit 4ef4170

Please sign in to comment.