[gdk-pixbuf] Visual Studio builds: Drop the compatibility math.h



commit 3b405715b93704fe60627b22e4dfdae6a3727158
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu Mar 2 00:45:21 2017 +0800

    Visual Studio builds: Drop the compatibility math.h
    
    This has been superseded by fallback-c89.c, which builds the fallback
    implementation based on the availability of round() and lrintf(), which is
    also pre-set in the pre-configured config.h.win32.in.

 win32/vs10/Makefile.am |    8 +-----
 win32/vs11/Makefile.am |    6 +----
 win32/vs9/Makefile.am  |    3 +-
 win32/vs9/math.h       |   58 ------------------------------------------------
 4 files changed, 4 insertions(+), 71 deletions(-)
---
diff --git a/win32/vs10/Makefile.am b/win32/vs10/Makefile.am
index 84f29a6..ea7c92f 100644
--- a/win32/vs10/Makefile.am
+++ b/win32/vs10/Makefile.am
@@ -20,8 +20,7 @@ EXTRA_DIST = \
        gdk-pixbuf-pixdata.vcxproj.filters      \
        gdk-pixbuf-install.vcxproj      \
        gdk-pixbuf-install.vcxproj.filters      \
-       $(GENERATED_ITEMS)              \
-       math.h
+       $(GENERATED_ITEMS)
 
 gdk-pixbuf-install.props: $(top_srcdir)/win32/vs10/gdk-pixbuf-install.propsin gdk-pixbuf.vs10.headers
        -$(RM) $(top_builddir)/win32/vs11/gdk-pixbuf-install.props
@@ -31,9 +30,6 @@ gdk-pixbuf-install.props: $(top_srcdir)/win32/vs10/gdk-pixbuf-install.propsin gd
        $(CPP) -P - <$(top_srcdir)/win32/vs10/gdk-pixbuf-install.propsin >$@
        rm gdk-pixbuf.vs10.headers
 
-math.h: $(top_srcdir)/win32/vs9/math.h
-       cp $< $@
-
-DISTCLEANFILES = $(GENERATED_ITEMS) math.h
+DISTCLEANFILES = $(GENERATED_ITEMS)
 
 -include $(top_srcdir)/git.mk
diff --git a/win32/vs11/Makefile.am b/win32/vs11/Makefile.am
index 153ca92..08743e0 100644
--- a/win32/vs11/Makefile.am
+++ b/win32/vs11/Makefile.am
@@ -14,8 +14,7 @@ EXTRA_DIST = \
        gdk-pixbuf-pixdata.vcxproj      \
        gdk-pixbuf-pixdata.vcxproj.filters      \
        gdk-pixbuf-install.vcxproj      \
-       gdk-pixbuf-install.vcxproj.filters      \
-       math.h
+       gdk-pixbuf-install.vcxproj.filters
 
 DISTCLEANFILES = $(EXTRA_DIST)
 
@@ -26,7 +25,4 @@ MSVC_VER_LONG = 2012
 
 include $(top_srcdir)/win32/Makefile-newvs.am
 
-math.h: $(top_srcdir)/win32/vs9/math.h
-       cp $< $@
-
 -include $(top_srcdir)/git.mk
diff --git a/win32/vs9/Makefile.am b/win32/vs9/Makefile.am
index 9e42042..66016c6 100644
--- a/win32/vs9/Makefile.am
+++ b/win32/vs9/Makefile.am
@@ -14,8 +14,7 @@ EXTRA_DIST =  \
        gdk-pixbuf-query-loaders.vcproj \
        gdk-pixbuf-pixdata.vcproj       \
        gdk-pixbuf-install.vcproj       \
-       $(GENERATED_ITEMS)              \
-       math.h
+       $(GENERATED_ITEMS)
 
 gdk-pixbuf-install.vsprops: $(top_srcdir)/win32/vs9/gdk-pixbuf-install.vspropsin gdk-pixbuf.headers
        $(CPP) -P - <$(top_srcdir)/win32/vs9/gdk-pixbuf-install.vspropsin >$@


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