mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
Allow RTC support to be excluded at compile time.
Add a new option to configure script, allowing to disable (and exclude) RTC module. It saves same memory.
This commit is contained in:
committed by
Richard P. Curnow
parent
8a94298b7e
commit
93f6664378
4
rtc.c
4
rtc.c
@@ -33,7 +33,7 @@
|
||||
#include "logging.h"
|
||||
#include "conf.h"
|
||||
|
||||
#if defined LINUX
|
||||
#if defined LINUX && defined FEAT_RTC
|
||||
#include "rtc_linux.h"
|
||||
#endif /* defined LINUX */
|
||||
|
||||
@@ -53,7 +53,7 @@ static struct {
|
||||
void (*cycle_logfile)(void);
|
||||
} driver =
|
||||
{
|
||||
#if defined LINUX
|
||||
#if defined LINUX && defined FEAT_RTC
|
||||
RTC_Linux_Initialise,
|
||||
RTC_Linux_Finalise,
|
||||
RTC_Linux_TimePreInit,
|
||||
|
||||
Reference in New Issue
Block a user