FS-9449: Enable clock calibration and clock_realtime on Solaris

This commit is contained in:
Spencer Thomason 2016-08-19 17:45:04 -07:00
parent f21a38270d
commit c5eb29d74d
1 changed files with 2 additions and 2 deletions

View File

@ -504,8 +504,8 @@ int main(int argc, char *argv[])
char *arg_argv[128] = { 0 };
int alt_dirs = 0, alt_base = 0, log_set = 0, run_set = 0, do_kill = 0;
int priority = 0;
#ifdef __sun
switch_core_flag_t flags = SCF_USE_SQL;
#if (defined(__SVR4) && defined(__sun))
switch_core_flag_t flags = SCF_USE_SQL | SCF_CALIBRATE_CLOCK | SCF_USE_CLOCK_RT;
#else
switch_core_flag_t flags = SCF_USE_SQL | SCF_USE_AUTO_NAT | SCF_USE_NAT_MAPPING | SCF_CALIBRATE_CLOCK | SCF_USE_CLOCK_RT;
#endif