Line | |
---|
1 | #ifndef MAD_PORT_H |
---|
2 | #define MAD_PORT_H |
---|
3 | |
---|
4 | #if ! defined(_WIN32) || defined(__MINGW32__) |
---|
5 | // problem with C99 compliance on Windows |
---|
6 | #include <stdint.h> |
---|
7 | #endif |
---|
8 | |
---|
9 | #ifdef _WIN32 |
---|
10 | // problem with C99 compliance on Windows |
---|
11 | #if !__STDC__ || __STDC_VERSION__ < 199901L |
---|
12 | extern double rint(double); |
---|
13 | #endif |
---|
14 | #endif |
---|
15 | |
---|
16 | // problem with non-standard Intel names in math.h |
---|
17 | #ifdef _ICC |
---|
18 | #define compound(a,b) compound_intel(a,b) |
---|
19 | #include <math.h> |
---|
20 | #undef compound |
---|
21 | #endif |
---|
22 | |
---|
23 | #endif // MAD_PORT_H |
---|
Note: See
TracBrowser
for help on using the repository browser.