Commit 1167fd1a authored by Yasuhiro Matsumoto's avatar Yasuhiro Matsumoto

use round for llround. some platform (ex: mingw32) doesn't have llround.

parent 40252169
......@@ -11,6 +11,10 @@
#include "mruby/class.h"
#include "mruby/data.h"
#if !defined(__MINGW64__) && defined(_WIN32)
# define llround(x) round(x)
#endif
#if defined(__MINGW64__) || defined(__MINGW32__)
# include <sys/time.h>
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment