[gtk/324.win32.build] demos/gtk-demo/gtkfishbowl.c: Include gtk/fallback-c89.c
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/324.win32.build] demos/gtk-demo/gtkfishbowl.c: Include gtk/fallback-c89.c
- Date: Wed, 20 Jun 2018 10:25:25 +0000 (UTC)
commit 91738fe6c832569625099b04a9f75d8bbe1debd8
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Wed Jun 20 18:21:05 2018 +0800
demos/gtk-demo/gtkfishbowl.c: Include gtk/fallback-c89.c
...in place of math.h, as we are using round(), which is possibly not
provided by the compiler since we don't require a C99 compiler in
GTK+-3.x and gtk/fallback-c89.c does include math.h anyways.
demos/gtk-demo/gtkfishbowl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/demos/gtk-demo/gtkfishbowl.c b/demos/gtk-demo/gtkfishbowl.c
index 5101210fd1..0b17c42fc2 100644
--- a/demos/gtk-demo/gtkfishbowl.c
+++ b/demos/gtk-demo/gtkfishbowl.c
@@ -19,7 +19,7 @@
#include "gtkfishbowl.h"
-#include <math.h>
+#include "gtk/fallback-c89.c"
typedef struct _GtkFishbowlPrivate GtkFishbowlPrivate;
typedef struct _GtkFishbowlChild GtkFishbowlChild;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]