[gtk/gtk-3-24-meson: 34/95] tests/animated-resizing.c: Include gtk/fallback-c89.c
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24-meson: 34/95] tests/animated-resizing.c: Include gtk/fallback-c89.c
- Date: Thu, 11 Apr 2019 14:54:16 +0000 (UTC)
commit 92206fe23b6e47acd6834a2b7a17bd76705db469
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]