[glib/gnulib.msvc.fixes: 2/2] glib/gnulib: Include gnulib_math.h in place of math.h



commit 0be32d59f0282d36716f797f3aa6220cddac2a06
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Fri Mar 29 01:07:20 2019 +0800

    glib/gnulib: Include gnulib_math.h in place of math.h
    
    For the new gnulib modules that were added, include gnulib_math.h in
    place of math.h, so that the replacement functions can be properly
    referenced.

 glib/gnulib/signbitd.c | 2 +-
 glib/gnulib/signbitf.c | 2 +-
 glib/gnulib/signbitl.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glib/gnulib/signbitd.c b/glib/gnulib/signbitd.c
index 1efb6e6a2..8e35cbe82 100644
--- a/glib/gnulib/signbitd.c
+++ b/glib/gnulib/signbitd.c
@@ -17,7 +17,7 @@
 #include <config.h>
 
 /* Specification.  */
-#include <math.h>
+#include <gnulib_math.h>
 
 #include <string.h>
 #include "isnand-nolibm.h"
diff --git a/glib/gnulib/signbitf.c b/glib/gnulib/signbitf.c
index 3240e4ec0..b1ba9c8cc 100644
--- a/glib/gnulib/signbitf.c
+++ b/glib/gnulib/signbitf.c
@@ -17,7 +17,7 @@
 #include <config.h>
 
 /* Specification.  */
-#include <math.h>
+#include <gnulib_math.h>
 
 #include <string.h>
 #include "isnanf-nolibm.h"
diff --git a/glib/gnulib/signbitl.c b/glib/gnulib/signbitl.c
index 3f847257c..c122c5c7a 100644
--- a/glib/gnulib/signbitl.c
+++ b/glib/gnulib/signbitl.c
@@ -17,7 +17,7 @@
 #include <config.h>
 
 /* Specification.  */
-#include <math.h>
+#include <gnulib_math.h>
 
 #include <string.h>
 #include "isnanl-nolibm.h"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]