[gtk/wip/fanc999/gtk-3-24-meson-msvc: 30/36] tests/animated-resizing.c: Include gtk/fallback-c89.c



commit f80a26f98a68ae1e2d08cf8952446e5423fcab69
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Mar 13 13:05:08 2019 +0800

    tests/animated-resizing.c: Include gtk/fallback-c89.c
    
    This is to ensure that compilers that do not have round() in math.h can
    still build the code.

 tests/animated-resizing.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/animated-resizing.c b/tests/animated-resizing.c
index d11d6e0dee..fbafe97c6d 100644
--- a/tests/animated-resizing.c
+++ b/tests/animated-resizing.c
@@ -1,9 +1,9 @@
 /* -*- mode: C; c-basic-offset: 2; indent-tabs-mode: nil; -*- */
 
 #include <gtk/gtk.h>
-#include <math.h>
 #include <string.h>
 
+#include "gtk/fallback-c89.c"
 #include "frame-stats.h"
 
 #define RADIUS 64


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