Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Zend/zend_float.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ END_EXTERN_C()
# define HAVE__CONTROLFP_S
#endif /* _MSC_VER */

#if defined(HAVE__CONTROLFP_S) && !defined(__x86_64__)
#if defined(HAVE__CONTROLFP_S) && !defined(__i386__) && !defined(__x86_64__)

/* float.h defines _controlfp_s */
# include <float.h>
Expand Down Expand Up @@ -138,7 +138,7 @@ END_EXTERN_C()
return _xpfpa_result; \
} while (0)

#elif defined(HAVE__CONTROLFP) && !defined(__x86_64__)
#elif defined(HAVE__CONTROLFP) && !defined(__i386__) && !defined(__x86_64__)

/* float.h defines _controlfp */
# include <float.h>
Expand Down Expand Up @@ -197,7 +197,7 @@ END_EXTERN_C()
return _xpfpa_result; \
} while (0)

#elif defined(HAVE__FPU_SETCW) && !defined(__x86_64__) /* glibc systems */
#elif defined(HAVE__FPU_SETCW) && !defined(__i386__) && !defined(__x86_64__) /* glibc systems */

/* fpu_control.h defines _FPU_[GS]ETCW */
# include <fpu_control.h>
Expand Down Expand Up @@ -256,7 +256,7 @@ END_EXTERN_C()
return _xpfpa_result; \
} while (0)

#elif defined(HAVE_FPSETPREC) && !defined(__x86_64__) /* FreeBSD */
#elif defined(HAVE_FPSETPREC) && !defined(__i386__) && !defined(__x86_64__) /* FreeBSD */

/* fpu_control.h defines _FPU_[GS]ETCW */
# include <machine/ieeefp.h>
Expand Down Expand Up @@ -312,7 +312,7 @@ END_EXTERN_C()
return _xpfpa_result; \
} while (0)

#elif defined(HAVE_FPU_INLINE_ASM_X86) && !defined(__x86_64__)
#elif defined(HAVE_FPU_INLINE_ASM_X86) && !defined(__i386__) && !defined(__x86_64__)

/*
Custom x86 inline assembler implementation.
Expand Down