Signal an error if fpe_x86.c is included in a WIN64 build

This commit is contained in:
Juan Jose Garcia Ripoll 2012-05-30 00:05:40 +02:00
parent 77c033a3d7
commit 9171c8d6a1

6
src/c/arch/fpe_x86.c Normal file → Executable file
View file

@ -18,7 +18,11 @@
*/
#ifdef _MSC_VER
#define ecl_detect_fpe() __asm fwait
# ifdef _WIN64
# error "This file shouldn't have been included!"
# else
# define ecl_detect_fpe() __asm fwait
# endif
#endif
#ifdef __GNUC__