diff options
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h index 23adc7b..b77d815 100644 --- a/include/platform.h +++ b/include/platform.h @@ -210,4 +210,21 @@ typedef unsigned long long int uintmax_t; #else #define bb_setpgrp setpgrp() #endif + +// I have no idea what platform this was for since aldot didn't say, but +// it belongs here since Linux doesn't need it. + +#if !defined ADJ_OFFSET_SINGLESHOT && defined MOD_CLKA && defined MOD_OFFSET +#define ADJ_OFFSET_SINGLESHOT (MOD_CLKA | MOD_OFFSET) +#endif +#if !defined ADJ_FREQUENCY && defined MOD_FREQUENCY +#define ADJ_FREQUENCY MOD_FREQUENCY +#endif +#if !defined ADJ_TIMECONST && defined MOD_TIMECONST +#define ADJ_TIMECONST MOD_TIMECONST +#endif +#if !defined ADJ_TICK && defined MOD_CLKB +#define ADJ_TICK MOD_CLKB +#endif + #endif /* platform.h */ |