[gtk/wip/fanc999/gtk-3-24-meson-msvc: 11/14] 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: 11/14] tests/animated-resizing.c: Include gtk/fallback-c89.c
- Date: Fri, 22 Mar 2019 09:36:13 +0000 (UTC)
commit b6873a4bedfe921e1dd3c2a26edd011289ba38d4
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]