[goffice] Fix conditional compilation for long double. [#774439]
- From: Jean Bréfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Fix conditional compilation for long double. [#774439]
- Date: Wed, 16 Nov 2016 08:05:08 +0000 (UTC)
commit 183352353113252e40a3901b3594bed5220ed475
Author: Jean Brefort <jean brefort normalesup org>
Date: Wed Nov 16 09:04:43 2016 +0100
Fix conditional compilation for long double. [#774439]
ChangeLog | 5 +++++
NEWS | 2 ++
goffice/utils/go-libxml-extras.c | 2 +-
3 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c08584a..2476fe6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-11-16 Jean Brefort <jean brefort normalesup org>
+
+ * goffice/utils/go-libxml-extras.c: fix long double support condition.
+ [#774439]
+
2016-11-02 Jean Brefort <jean brefort normalesup org>
* goffice/graph/gog-legend.c (cb_render_elements): allow box plots look
diff --git a/NEWS b/NEWS
index a54e856..4a952a1 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,8 @@ goffice 0.10.33:
Jean:
* Make box plots look like bar plots in legends. [#773825]
+ * Fix conditional compilation for long double. Patch from Ludovic
+ Rousseau). [#774439]
Morten:
* Introspection fixes.
diff --git a/goffice/utils/go-libxml-extras.c b/goffice/utils/go-libxml-extras.c
index 20b5b34..3f661ca 100644
--- a/goffice/utils/go-libxml-extras.c
+++ b/goffice/utils/go-libxml-extras.c
@@ -365,7 +365,7 @@ go_xml_out_add_double (GsfXMLOut *output, char const *id, double d)
g_string_free (str, TRUE);
}
-#if GOFFICE_WITH_LONG_DOUBLE
+#ifdef GOFFICE_WITH_LONG_DOUBLE
/**
* go_xml_out_add_long_double:
* @output: destination
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]