diff options
author | randomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64> | 2012-01-08 15:28:09 +0000 |
---|---|---|
committer | randomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64> | 2012-01-08 15:28:09 +0000 |
commit | 14a4000aa9056d2fdc69c2dc925bc9a4203d068b (patch) | |
tree | f4ca53af5bc28691e441b6f936e754b426e6ac92 /src/common/util.h | |
parent | 286bcd94614ee12832c5e277f27b741c3795ba30 (diff) |
Fix build on Windows
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@357 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h index 652278e..74871dc 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -22,6 +22,10 @@ #include <math.h> +#ifndef M_PI +#define M_PI 3.141592654 +#endif + /*! @brief Compute a bounding rectangle for two given points. @param p1 a point. |