source: PSPA/madxPSPA/src/mad_port.h @ 478

Last change on this file since 478 was 430, checked in by touze, 11 years ago

import madx-5.01.00

File size: 467 bytes
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
12extern 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.