diff 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
line wrap: on
line diff
--- a/src/Support/Module.h	Thu Jul 22 04:14:20 2010 +0000
+++ b/src/Support/Module.h	Thu Jul 22 04:24:55 2010 +0000
@@ -27,6 +27,13 @@
 #ifndef AIMC_SUPPORT_MODULE_H_
 #define AIMC_SUPPORT_MODULE_H_
 
+// Several modules expect the M_PI macro and isnan() to be defined
+#ifdef _MSC_VER
+#define M_PI 3.14159265359
+#define isnan _isnan
+#define isinf _isinf
+#endif
+
 #include <iostream>
 #include <set>
 #include <string>