mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
gtkswitch.c: Fix Build on C89 Compilers
This file now uses round(), which was not available until C99, so include fallback-c89.c instead of math.h, which includes math.h and does a fallback implementation of round().
This commit is contained in:
parent
32c0c6fee0
commit
e31a936e3e
@ -53,7 +53,7 @@
|
||||
#include "gtkactionhelper.h"
|
||||
#include "gtkwidgetprivate.h"
|
||||
|
||||
#include <math.h>
|
||||
#include "fallback-c89.c"
|
||||
|
||||
#define DEFAULT_SLIDER_WIDTH (36)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user