+struct tm ltime(void)
+{
+ struct tm tm;
+ DateTimeRec d;
+ GetTime(&d);
+
+ tm.tm_sec=d.second;
+ tm.tm_min=d.minute;
+ tm.tm_hour=d.hour;
+ tm.tm_mday=d.day;
+ tm.tm_mon=d.month-1;
+ tm.tm_year=d.year-1900;
+ tm.tm_wday=d.dayOfWeek;
+ tm.tm_yday=1; /* GetTime doesn't tell us */
+ tm.tm_isdst=0; /* Have to do DST ourselves */
+
+ /* XXX find out DST adjustment and add it */
+
+ return tm;
+}
+
+const int platform_uses_x11_unix_by_default = FALSE;
+
+char *platform_get_x_display(void) {
+ return NULL;
+}
+