fixed minor bugs

This commit is contained in:
hyung-hwan 2008-12-24 04:04:30 +00:00
parent c9a39fa64f
commit e72c6db022
2 changed files with 2 additions and 2 deletions

View File

@ -254,7 +254,7 @@ int StdAwk::systime (Run& run, Return& ret, const Argument* args, size_t nargs,
if (qse_gettime(&now) == -1)
return ret.set (QSE_TYPE_MIN(long_t));
else
return ret.set ((long_t)now / QSE_MSEC_IN_SEC);
return ret.set ((long_t)now / QSE_MSECS_PER_SEC);
}
int StdAwk::strftime (Run& run, Return& ret, const Argument* args, size_t nargs,

View File

@ -9,8 +9,8 @@
#include <windows.h>
#else
#include <sys/time.h>
#include <time.h>
#endif
#include <time.h>
#if defined(QSE_USE_SYSCALL) && defined(HAVE_SYS_SYSCALL_H)
#include <sys/syscall.h>