Sfoglia il codice sorgente

Windows Port (iso646, cstring)

gbeurier 7 anni fa
parent
commit
c3352c096e
2 ha cambiato i file con 8 aggiunte e 2 eliminazioni
  1. 5 2
      src/artis/context/Value.hpp
  2. 3 0
      src/artis/utils/DateTime.cpp

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

@@ -27,9 +27,12 @@
 #include <boost/serialization/array.hpp>
 
 #include <algorithm>
-#include <cstring>
 #include <typeinfo>
-
+#if WIN32
+#include <string>
+#else
+#include <cstring>
+#endif
 namespace artis { namespace context {
 
 class Value

+ 3 - 0
src/artis/utils/DateTime.cpp

@@ -26,6 +26,9 @@
 #include <regex>
 #include <ctime>
 #include <cmath>
+#if WIN32
+#include <iso646.h>
+#endif
 
 namespace artis { namespace utils {