Commit 39dd1822 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #2880 from mattn/llround

implement llround. some platform (ex: mingw32) doesn't have llround.
parents 40252169 1167fd1a
......@@ -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