mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/win32.h (frexp, modf): original macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1adf7962be
commit
543ecd95d5
1 changed files with 2 additions and 2 deletions
|
@ -717,7 +717,7 @@ uintptr_t rb_w32_asynchronize(asynchronous_func_t func, uintptr_t self, int argc
|
|||
#endif
|
||||
|
||||
#ifdef __MINGW_ATTRIB_PURE
|
||||
/* GPL */
|
||||
/* License: Ruby's */
|
||||
/* get rid of bugs in math.h of mingw */
|
||||
#define frexp(_X, _Y) __extension__ ({\
|
||||
int intpart_frexp_bug = intpart_frexp_bug;\
|
||||
|
@ -725,7 +725,7 @@ uintptr_t rb_w32_asynchronize(asynchronous_func_t func, uintptr_t self, int argc
|
|||
*(_Y) = intpart_frexp_bug;\
|
||||
result_frexp_bug;\
|
||||
})
|
||||
/* GPL */
|
||||
/* License: Ruby's */
|
||||
#define modf(_X, _Y) __extension__ ({\
|
||||
double intpart_modf_bug = intpart_modf_bug;\
|
||||
double result_modf_bug = modf((_X), &intpart_modf_bug);\
|
||||
|
|
Loading…
Reference in a new issue