== compile fix ==

- fix compilation for MSVC (added missing math define)
- note: defines were already duplicated, added twice to keep them in synch
This commit is contained in:
2008-07-04 20:21:08 +00:00
parent 107b78a3d2
commit 488a8291d1
2 changed files with 6 additions and 0 deletions

View File

@@ -50,6 +50,9 @@ extern "C" {
#ifndef M_SQRT1_2
#define M_SQRT1_2 0.70710678118654752440
#endif
#ifndef M_1_PI
#define M_1_PI 0.318309886183790671538
#endif
#ifdef WIN32
#ifndef FREE_WINDOWS

View File

@@ -73,6 +73,9 @@
#ifndef M_SQRT1_2
#define M_SQRT1_2 0.70710678118654752440
#endif
#ifndef M_1_PI
#define M_1_PI 0.318309886183790671538
#endif
#define MAXPATHLEN MAX_PATH