[gtk/gtk-3-24-meson: 36/94] tests/animated-resizing.c: Include gtk/fallback-c89.c



commit 95785131531d042be3ccf3b7e02467438f9bb23e
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]