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:
Chun-wei Fan 2015-03-03 12:14:24 +08:00
parent 32c0c6fee0
commit e31a936e3e

View File

@ -53,7 +53,7 @@
#include "gtkactionhelper.h"
#include "gtkwidgetprivate.h"
#include <math.h>
#include "fallback-c89.c"
#define DEFAULT_SLIDER_WIDTH (36)