#define XOS_USE_NO_LOCKING
#define X_INCLUDE_TIME_H
+#if defined(linux)
+#undef SVR4
+#endif
#include <X11/Xos_r.h>
#include <stdlib.h>
if (_target_time) {
if (!(unused = InitRepeatEventState(re)))
return (Tick)NULL;
- start_time = DoWeek(NULL, _start_time, re, unused);
+ start_time = DoWeek(0, _start_time, re, unused);
free(unused);
if (_target_time < start_time)
target_time = start_time;
if (_target_time) {
if (!(unused = InitRepeatEventState(re)))
return (Tick)NULL;
- start_time = DoYearByMonth(NULL, _start_time, re, unused);
+ start_time = DoYearByMonth(0, _start_time, re, unused);
free(unused);
if (_target_time < start_time)
target_time = start_time;
if (_target_time) {
if (!(unused = InitRepeatEventState(re)))
return (Tick)NULL;
- start_time = DoYearByDay(NULL, _start_time, re, unused);
+ start_time = DoYearByDay(0, _start_time, re, unused);
free(unused);
if (_target_time < start_time)
target_time = start_time;