[gtk/issue-2: 1/7] x11: Do not include fallback-c89.c



commit 490899e271fbe223a18469eba60eefd6cbce8075
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Feb 14 11:15:31 2018 +0000

    x11: Do not include fallback-c89.c
    
    We're definitely using a C99-compliant toolchain, if we're building the
    X11 backend.

 gdk/x11/gdkdevice-core-x11.c | 3 ---
 gdk/x11/gdkdevice-xi2.c      | 3 ---
 2 files changed, 6 deletions(-)
---
diff --git a/gdk/x11/gdkdevice-core-x11.c b/gdk/x11/gdkdevice-core-x11.c
index d4d10f1738..8cd0408661 100644
--- a/gdk/x11/gdkdevice-core-x11.c
+++ b/gdk/x11/gdkdevice-core-x11.c
@@ -29,9 +29,6 @@
 
 #include <math.h>
 
-/* for the use of round() */
-#include "fallback-c89.c"
-
 struct _GdkX11DeviceCore
 {
   GdkDevice parent_instance;
diff --git a/gdk/x11/gdkdevice-xi2.c b/gdk/x11/gdkdevice-xi2.c
index b7f676e507..98d3ce38a5 100644
--- a/gdk/x11/gdkdevice-xi2.c
+++ b/gdk/x11/gdkdevice-xi2.c
@@ -32,9 +32,6 @@
 
 #include <math.h>
 
-/* for the use of round() */
-#include "fallback-c89.c"
-
 typedef struct _ScrollValuator ScrollValuator;
 
 struct _ScrollValuator


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