diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-21 10:51:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-21 10:51:40 +0000 |
commit | bfdba3ddde691662483727dc700fb8569411818b (patch) | |
tree | fc6a1d7cfff81865fb2badc9d64db999af9717ef /complex.c | |
parent | dab77debce600eed126896e1268e455c7d0d5af4 (diff) | |
download | ruby-bfdba3ddde691662483727dc700fb8569411818b.tar.gz |
ruby/missing.h: M_PI fallback definition
* include/ruby/missing.h (M_PI, M_PI_2): fallback definitions for
VC6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'complex.c')
-rw-r--r-- | complex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5,12 +5,12 @@ which is written in ruby. */ -#include "internal.h" #if defined _MSC_VER /* Microsoft Visual C does not define M_PI and others by default */ # define _USE_MATH_DEFINES 1 #endif #include <math.h> +#include "internal.h" #define NDEBUG #include <assert.h> |