aboutsummaryrefslogtreecommitdiff
path: root/win32/include/math.h
diff options
context:
space:
mode:
authorgrischka <grischka>2013-12-16 15:38:10 +0100
committergrischka <grischka>2013-12-16 15:38:10 +0100
commitfbc8810334e6a087bed6de4dd84635cb6037b4dc (patch)
tree93abd52bd922433a1b8fced60ac0fef97967a3cc /win32/include/math.h
parent46dd2971abfe9fd289a8b0f6265e1f5fccf584f3 (diff)
downloadtinycc-fbc8810334e6a087bed6de4dd84635cb6037b4dc.tar.gz
tinycc-fbc8810334e6a087bed6de4dd84635cb6037b4dc.tar.bz2
Fix "Add support for struct > 4B returned via registers"
- avoid assumption "ret_align == register_size" which is false for non-arm targets - rename symbol "sret" to more descriptive "ret_nregs" This fixes commit dcec8673f21da86ae3dcf1ca3e9498127715b795 Also: - remove multiple definitions in win32/include/math.h
Diffstat (limited to 'win32/include/math.h')
-rw-r--r--win32/include/math.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/include/math.h b/win32/include/math.h
index 984a717..4fe64e7 100644
--- a/win32/include/math.h
+++ b/win32/include/math.h
@@ -666,6 +666,7 @@ extern "C" {
extern long double __cdecl fmal (long double, long double, long double);
+#if 0 // gr: duplicate, see below
/* 7.12.14 */
/*
* With these functions, comparisons involving quiet NaNs set the FP
@@ -708,6 +709,7 @@ extern "C" {
& 0x4500) == 0x4500)
#endif
+#endif //0
#endif /* __STDC_VERSION__ >= 199901L */