mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-03 03:24:39 +00:00
Use #ifdef instead of #if for features to make Meson easier.
We mostly use #ifdef throughout the tree, and this lets the generated config.h files just be #define TOKEN instead of #define TOKEN 1. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
ace6bfd590
commit
c7be7a688a
10 changed files with 29 additions and 29 deletions
|
|
@ -132,7 +132,7 @@ extern long SmartScheduleTime;
|
|||
extern long SmartScheduleInterval;
|
||||
extern long SmartScheduleSlice;
|
||||
extern long SmartScheduleMaxSlice;
|
||||
#if HAVE_SETITIMER
|
||||
#ifdef HAVE_SETITIMER
|
||||
extern Bool SmartScheduleSignalEnable;
|
||||
#else
|
||||
#define SmartScheduleSignalEnable FALSE
|
||||
|
|
|
|||
Loading…
Reference in a new issue