[vala: 3/7] posix: add feature test macro _GNU_SOURCE for pow10(3) and pow10f(3)
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala: 3/7] posix: add feature test macro _GNU_SOURCE for pow10(3) and pow10f(3)
- Date: Mon, 26 Feb 2018 19:40:42 +0000 (UTC)
commit e75565a46866fe9db548c57365715e9129cfca9d
Author: Dr. Michael Lauer <mickey vanille-media de>
Date: Mon Feb 26 17:02:36 2018 +0100
posix: add feature test macro _GNU_SOURCE for pow10(3) and pow10f(3)
https://bugzilla.gnome.org/show_bug.cgi?id=614788
vapi/posix.vapi | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 9ea15ed..8eb239f 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -538,9 +538,9 @@ namespace Posix {
public double exp10 (double x);
[CCode (cheader_filename = "math.h")]
public float exp10f (float x);
- [CCode (cheader_filename = "math.h")]
+ [CCode (cheader_filename = "math.h", feature_test_macro = "_GNU_SOURCE")]
public double pow10 (double x);
- [CCode (cheader_filename = "math.h")]
+ [CCode (cheader_filename = "math.h", feature_test_macro = "_GNU_SOURCE")]
public float pow10f (float x);
[CCode (cheader_filename = "math.h")]
public double expm1 (double x);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]