Mercurial > hg > aimc
comparison src/Support/Module.h @ 163:c155e7fbe76e
- Hacks to get a basic AIM-C compiling on windows
author | tomwalters |
---|---|
date | Thu, 22 Jul 2010 04:24:55 +0000 |
parents | 747ba38b4b1b |
children | 763576f63761 |
comparison
equal
deleted
inserted
replaced
162:9fcf55c040fe | 163:c155e7fbe76e |
---|---|
24 * \version \$Id$ | 24 * \version \$Id$ |
25 */ | 25 */ |
26 | 26 |
27 #ifndef AIMC_SUPPORT_MODULE_H_ | 27 #ifndef AIMC_SUPPORT_MODULE_H_ |
28 #define AIMC_SUPPORT_MODULE_H_ | 28 #define AIMC_SUPPORT_MODULE_H_ |
29 | |
30 // Several modules expect the M_PI macro and isnan() to be defined | |
31 #ifdef _MSC_VER | |
32 #define M_PI 3.14159265359 | |
33 #define isnan _isnan | |
34 #define isinf _isinf | |
35 #endif | |
29 | 36 |
30 #include <iostream> | 37 #include <iostream> |
31 #include <set> | 38 #include <set> |
32 #include <string> | 39 #include <string> |
33 | 40 |