commit | 3f43aaa23f9005a295056d0dce46a59565f1ef82 | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Wed Jul 07 14:54:08 1999 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Wed Jul 07 14:54:08 1999 -0300 |
tree | 8c479e26b99ebbe53bca16f9d5aaeb47434a79ab | |
parent | 3b4c831ca9e7d04a1e62eee2016b7c001715fbfc [diff] |
new RedHat defines PI :-(
diff --git a/lmathlib.c b/lmathlib.c index 6058267..5e9f10b 100644 --- a/lmathlib.c +++ b/lmathlib.c
@@ -1,5 +1,5 @@ /* -** $Id: lmathlib.c,v 1.15 1999/01/04 12:41:12 roberto Exp roberto $ +** $Id: lmathlib.c,v 1.16 1999/02/19 17:33:35 roberto Exp roberto $ ** Lua standard mathematical library ** See Copyright Notice in lua.h */ @@ -13,6 +13,7 @@ #include "lualib.h" +#undef PI #define PI (3.14159265358979323846) #define RADIANS_PER_DEGREE (PI/180.0)