aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/math.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-30 19:46:57 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-03-30 19:46:57 -0700
commitb9d076fda6b53596bc893ca196c578c8f32e793c (patch)
tree344fe2ba98a03af1b5a9549ccc4b6c9e241ebb6c /system/include/libc/math.h
parent26be0690260a71d56b6c51a52092d4cbbd736fb6 (diff)
headers fix; fixes #1013
Diffstat (limited to 'system/include/libc/math.h')
-rw-r--r--system/include/libc/math.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/include/libc/math.h b/system/include/libc/math.h
index e2f8cdef..3bd0621c 100644
--- a/system/include/libc/math.h
+++ b/system/include/libc/math.h
@@ -145,9 +145,10 @@ extern double fmod _PARAMS((double, double));
#ifndef FLT_EVAL_METHOD
#define FLT_EVAL_METHOD 0
+#endif /* FLT_EVAL_METHOD */
+/* XXX EMSCRIPTEN: moved these out of previous if */
typedef float float_t;
typedef double double_t;
-#endif /* FLT_EVAL_METHOD */
#define FP_NAN 0
#define FP_INFINITE 1