diff options
Diffstat (limited to 'lib/builtins/comparedf2.c')
-rw-r--r-- | lib/builtins/comparedf2.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/builtins/comparedf2.c b/lib/builtins/comparedf2.c index 9f059785a..58290d87d 100644 --- a/lib/builtins/comparedf2.c +++ b/lib/builtins/comparedf2.c @@ -141,8 +141,9 @@ COMPILER_RT_ALIAS(__unorddf2, __aeabi_dcmpun) #endif #endif -#if defined(_WIN32) -// The alias mechanism doesn't work on Windows, so emit wrapper functions. +#if defined(_WIN32) && !defined(__MINGW32__) +// The alias mechanism doesn't work on Windows except for MinGW, so emit +// wrapper functions. int __eqdf2(fp_t a, fp_t b) { return __ledf2(a, b); } int __ltdf2(fp_t a, fp_t b) { return __ledf2(a, b); } int __nedf2(fp_t a, fp_t b) { return __ledf2(a, b); } |