mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 19:45:07 -05:00
sys: MacOS X driver ported from NetBSD
This commit is contained in:
committed by
Miroslav Lichvar
parent
8de04a808d
commit
d6aafa3f64
12
sys.c
12
sys.c
@@ -46,6 +46,10 @@
|
||||
#include "sys_netbsd.h"
|
||||
#endif
|
||||
|
||||
#if defined (MACOSX)
|
||||
#include "sys_macosx.h"
|
||||
#endif
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
void
|
||||
@@ -68,6 +72,10 @@ SYS_Initialise(void)
|
||||
SYS_NetBSD_Initialise();
|
||||
#endif
|
||||
|
||||
#if defined(MACOSX)
|
||||
SYS_MacOSX_Initialise();
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
@@ -91,6 +99,10 @@ SYS_Finalise(void)
|
||||
#if defined(__NetBSD__)
|
||||
SYS_NetBSD_Finalise();
|
||||
#endif
|
||||
|
||||
#if defined(MACOSX)
|
||||
SYS_MacOSX_Finalise();
|
||||
#endif
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
Reference in New Issue
Block a user