fix thread leak on timer_create(SIGEV_THREAD) failure
[musl] / include / float.h
index 161e167..713aadb 100644 (file)
@@ -1,6 +1,13 @@
 #ifndef _FLOAT_H
 #define _FLOAT_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int __flt_rounds(void);
+#define FLT_ROUNDS (__flt_rounds())
+
 #define FLT_RADIX 2
 
 #define FLT_TRUE_MIN 1.40129846432481707092e-45F
@@ -38,4 +45,8 @@
 
 #include <bits/float.h>
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif