author | Rich Felker <dalias@aerifal.cx> | 2015年03月23日 11:26:51 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015年03月23日 11:26:51 -0400 |
commit | 11d1e2e2ded07673411ba872c1e3d0096dc79439 (patch) | |
tree | ecab6c214eac3964a5c6e53b1fcf95b74fda0898 | |
parent | fc13acc3dcb5b1f215c007f583a63551f6a71363 (diff) | |
download | musl-11d1e2e2ded07673411ba872c1e3d0096dc79439.tar.gz |
-rw-r--r-- | include/float.h | 8 |
diff --git a/include/float.h b/include/float.h index c6429d33..713aadb9 100644 --- a/include/float.h +++ b/include/float.h @@ -1,6 +1,10 @@ #ifndef _FLOAT_H #define _FLOAT_H +#ifdef __cplusplus +extern "C" { +#endif + int __flt_rounds(void); #define FLT_ROUNDS (__flt_rounds()) @@ -41,4 +45,8 @@ int __flt_rounds(void); #include <bits/float.h> +#ifdef __cplusplus +} +#endif + #endif |