浏览代码

Windows defines and includes added

gbeurier 7 年之前
父节点
当前提交
6452f26f35
共有 4 个文件被更改,包括 10 次插入5 次删除
  1. 1 2
      src/artis/context/Value.hpp
  2. 3 0
      src/artis/kernel/AbstractModel.hpp
  3. 3 1
      src/artis/kernel/Externals.hpp
  4. 3 2
      src/test/models.hpp

+ 1 - 2
src/artis/context/Value.hpp

@@ -28,10 +28,9 @@
 
 #include <algorithm>
 #include <typeinfo>
+#include <cstring>
 #if WIN32
 #include <string>
-#else
-#include <cstring>
 #endif
 namespace artis { namespace context {
 

+ 3 - 0
src/artis/kernel/AbstractModel.hpp

@@ -30,6 +30,9 @@
 #include <boost/core/demangle.hpp>
 
 #include <typeinfo>
+#if WIN32
+#include <iso646.h>
+#endif
 
 namespace artis { namespace kernel {
 

+ 3 - 1
src/artis/kernel/Externals.hpp

@@ -27,7 +27,9 @@
 #include <artis/kernel/Macro.hpp>
 
 #include <vector>
-
+#if WIN32
+#include <iso646.h>
+#endif
 namespace artis { namespace kernel {
 
 template < typename T, typename U, typename V >

+ 3 - 2
src/test/models.hpp

@@ -20,14 +20,15 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef TEST_MODELS_HPP
+#define TEST_MODELS_HPP
+
 #include <artis/kernel/AbstractAtomicModel.hpp>
 #include <artis/kernel/AbstractCoupledModel.hpp>
 #include <artis/utils/Trace.hpp>
 
 #include <memory>
 
-#ifndef TEST_MODELS_HPP
-#define TEST_MODELS_HPP
 
 struct GlobalParameters
 { };