aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/unix/sys_float.c
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-05-06 17:43:09 +0200
committerFredrik Gustafsson <[email protected]>2013-05-06 17:43:09 +0200
commit22f01b438963ac158af3d8066e58ce54be22d2de (patch)
treeb6f82d7f6a23a39a1bed0e9bad11075b775833ae /erts/emulator/sys/unix/sys_float.c
parent5bb42a3018c6d6e1bcaa382db8b873d1cef3c086 (diff)
parentea3024202d8dfedfafa62a15286157d3843957cb (diff)
downloadotp-22f01b438963ac158af3d8066e58ce54be22d2de.tar.gz
otp-22f01b438963ac158af3d8066e58ce54be22d2de.tar.bz2
otp-22f01b438963ac158af3d8066e58ce54be22d2de.zip
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/sys/unix/sys_float.c')
-rw-r--r--erts/emulator/sys/unix/sys_float.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/sys/unix/sys_float.c b/erts/emulator/sys/unix/sys_float.c
index 787f8d6728..689be98969 100644
--- a/erts/emulator/sys/unix/sys_float.c
+++ b/erts/emulator/sys/unix/sys_float.c
@@ -832,6 +832,8 @@ sys_chars_to_double(char* buf, double* fp)
return 0;
}
+#ifdef USE_MATHERR
+
int
matherr(struct exception *exc)
{
@@ -842,3 +844,5 @@ matherr(struct exception *exc)
#endif
return 1;
}
+
+#endif