aboutsummaryrefslogtreecommitdiffstats
path: root/src/signals.c
diff options
context:
space:
mode:
authorJordan Klassen <jordan@klassen.me.uk>2015-05-01 12:54:14 -0700
committerJordan Klassen <jordan@klassen.me.uk>2015-05-02 12:35:05 -0700
commitba15832b9eb98aa6dea5d4ef01be4bbfe1116773 (patch)
tree03888c93df6ad672f8348de69a172f4e92919c86 /src/signals.c
parentFix #174: Use nanosleep() instead of usleep() (diff)
downloadredshift-ng-ba15832b9eb98aa6dea5d4ef01be4bbfe1116773.tar.gz
redshift-ng-ba15832b9eb98aa6dea5d4ef01be4bbfe1116773.tar.bz2
redshift-ng-ba15832b9eb98aa6dea5d4ef01be4bbfe1116773.tar.xz
Fix CLAMP macro overwritten by glib headers
Fixes #188 When I moved the macro definition below all of the includes, I got the following compiler warning: /usr/include/glib-2.0/glib/gmacros.h:246:0: note: this is the location of the previous definition #define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x))) So, that's the macro definition that was being used whenever "CLAMP" was used. It's pretty obvious what went wrong.
Diffstat (limited to 'src/signals.c')
0 files changed, 0 insertions, 0 deletions