added str::value().

This commit is contained in:
2014-05-01 14:35:17 +00:00
parent 45b2bc5e57
commit ffe3bd3207
4 changed files with 66 additions and 5 deletions

View File

@ -152,6 +152,15 @@ int qse_gettime (qse_ntime_t* t)
t->nsec = QSE_MSEC_TO_NSEC(dt.hsecond * 10);
return 0;
#elif defined(macintosh)
unsigned long tv;
GetDateTime (&tv);
t->sec = tv;
tv->nsec = 0;
return 0;
#else
struct timeval tv;
int n;