[gtk/wip/fanc999/gtk-3-24-meson-msvc: 30/31] tests/animated-resizing.c: Include gtk/fallback-c89.c
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/fanc999/gtk-3-24-meson-msvc: 30/31] tests/animated-resizing.c: Include gtk/fallback-c89.c
- Date: Wed, 13 Mar 2019 09:07:31 +0000 (UTC)
commit ad197083e72ea54ebcb77fb5ba1ad1e5f4af93a8
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]