+#elif defined(__WXMAC__) && !defined(__DARWIN__)
+ wxLongLong tl = wxGetLocalTimeMillis();
+ secs = (unsigned long) (tl.GetValue() / 1000);
+ msec = (unsigned long) (tl.GetValue() - secs*1000);
+#else
+ // think every unice has gettimeofday
+ struct timeval tv;
+ gettimeofday( &tv, (struct timezone *)NULL );
+ secs = tv.tv_sec;
+ msec = tv.tv_usec/1000;