]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9449: Enable clock calibration and clock_realtime on Solaris
authorSpencer Thomason <spencer@whiteskycommunications.com>
Sat, 20 Aug 2016 00:45:04 +0000 (17:45 -0700)
committerSpencer Thomason <spencer@whiteskycommunications.com>
Sat, 20 Aug 2016 01:24:23 +0000 (18:24 -0700)
src/switch.c

index 942b5cd7635f1951771c81f968e489d36d99db27..292baade790214a3929c782837db5f6950e04c9c 100644 (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