diff --git a/internal/c/libqb.cpp b/internal/c/libqb.cpp index 33d073e9d..2ef52c488 100644 --- a/internal/c/libqb.cpp +++ b/internal/c/libqb.cpp @@ -64,7 +64,7 @@ return (word << shift) | (word >> (32 - shift)); uint64 qbr_longdouble_to_uint64(long double f){if (f<0) return(f-0.5f); else return(f+0.5f);} int32 qbr_float_to_long(float f){if (f<0) return(f-0.5f); else return(f+0.5f);} int32 qbr_double_to_long(double f){if (f<0) return(f-0.5f); else return(f+0.5f);} - void fpu_reinit() { // do nothing } + void fpu_reinit() { } // do nothing #else //QBASIC compatible rounding via FPU: //FLDS=load single diff --git a/internal/c/os.h b/internal/c/os.h index 9865681f9..869121445 100644 --- a/internal/c/os.h +++ b/internal/c/os.h @@ -40,6 +40,10 @@ #define QB64_32 #endif +#if !defined(i386) && !defined(__x86_64__) + #define QB64_NOT_X86 +#endif + /* common types (not quite an include guard, but allows an including * file to not have these included. *