… | … | ||
---|---|---|---|
17 | #include "perl.h" | 17 | #include "perl.h" |
18 | #include "XSUB.h" | 18 | #include "XSUB.h" |
19 | 19 | ||
20 | #ifdef _WIN32 | 20 | #ifdef _WIN32 |
21 | # undef pipe | 21 | # undef pipe |
22 | // microsoft vs. C | ||
23 | # define sqrtf(x) sqrt(x) | ||
24 | # define roundf(x) (int)(x) | ||
25 | # define atan2f(x,y) atan2(x,y) | ||
26 | # define M_PI 3.14159265f | ||
22 | #endif | 27 | #endif |
23 | 28 | ||
24 | #include <assert.h> | 29 | #include <assert.h> |
25 | #include <math.h> | 30 | #include <math.h> |
26 | #include <string.h> | 31 | #include <string.h> |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |