diff options
Diffstat (limited to 'include/libc')
| -rw-r--r-- | include/libc/math.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/libc/math.h b/include/libc/math.h index 3adb229f..b523798d 100644 --- a/include/libc/math.h +++ b/include/libc/math.h @@ -50,11 +50,12 @@ typedef union { #ifdef __cplusplus
extern "C" {
-#endif
+f32 __sinf(f32) throw();
+f32 __cosf(f32) throw();
+}
+#else
f32 __sinf(f32);
f32 __cosf(f32);
-#ifdef __cplusplus
-}
#endif
#endif
|
