mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
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:
parent
9b7c7ae614
commit
b9e189150b
@ -42,6 +42,9 @@
|
||||
|
||||
#include <math.h>
|
||||
|
||||
/* for the use of round() */
|
||||
#include "fallback-c89.c"
|
||||
|
||||
#undef DEBUG_WINDOW_PRINTING
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user