mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
time.c: Windows does not have unistd.h.
This commit is contained in:
@@ -21,7 +21,9 @@
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#ifdef _WIN32
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#define NDIV(x,y) (-(-((x)+1)/(y))-1)
|
||||
#define TO_S_FMT "%Y-%m-%d %H:%M:%S "
|
||||
|
||||
Reference in New Issue
Block a user