Merge pull request #935 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-9449-enable-clock-calibration-and-clock_nanosleep to master

* commit 'c5eb29d74d5ac727eb2a08c1e653e3f7e33aaacf':
  FS-9449: Enable clock calibration and clock_realtime on Solaris
This commit is contained in:
Mike Jerris 2016-08-19 22:59:29 -05:00
commit 3a93305045
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