gdk/gdkwindow.c, gtk/gtkwidget.c: Include fallback-c89.c

Both of them started to make use of round(), a C99 function.  So, include
fallback-c89.c to provide a fallback implementation for round() for
compilers that don't have round()

https://bugzilla.gnome.org/show_bug.cgi?id=694339
This commit is contained in:
Chun-wei Fan 2013-02-21 15:54:18 +08:00
parent 9b7c7ae614
commit b9e189150b
2 changed files with 6 additions and 0 deletions

View File

@ -42,6 +42,9 @@
#include <math.h>
/* for the use of round() */
#include "fallback-c89.c"
#undef DEBUG_WINDOW_PRINTING

View File

@ -66,6 +66,9 @@
#include "gtktypebuiltins.h"
#include "a11y/gtkwidgetaccessible.h"
/* for the use of round() */
#include "fallback-c89.c"
/**
* SECTION:gtkwidget
* @Short_description: Base class for all widgets