Parcourir la source

Windows defines and includes added

gbeurier il y a 7 ans
Parent
commit
6452f26f35

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

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

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

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

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

@@ -27,7 +27,9 @@
 #include <artis/kernel/Macro.hpp>
 #include <artis/kernel/Macro.hpp>
 
 
 #include <vector>
 #include <vector>
-
+#if WIN32
+#include <iso646.h>
+#endif
 namespace artis { namespace kernel {
 namespace artis { namespace kernel {
 
 
 template < typename T, typename U, typename V >
 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/>.
  * 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/AbstractAtomicModel.hpp>
 #include <artis/kernel/AbstractCoupledModel.hpp>
 #include <artis/kernel/AbstractCoupledModel.hpp>
 #include <artis/utils/Trace.hpp>
 #include <artis/utils/Trace.hpp>
 
 
 #include <memory>
 #include <memory>
 
 
-#ifndef TEST_MODELS_HPP
-#define TEST_MODELS_HPP
 
 
 struct GlobalParameters
 struct GlobalParameters
 { };
 { };