Blob Blame History Raw
diff -rupN --no-dereference netgen-6.2.2101/libsrc/core/python_ngcore.hpp netgen-6.2.2101-new/libsrc/core/python_ngcore.hpp
--- netgen-6.2.2101/libsrc/core/python_ngcore.hpp	2021-01-15 15:50:18.000000000 +0100
+++ netgen-6.2.2101-new/libsrc/core/python_ngcore.hpp	2021-01-24 22:34:32.792548202 +0100
@@ -107,10 +107,12 @@ namespace ngcore
     static std::string GetName() { return "D"; }
   };
 
+#ifdef _____LP64_____
   template<>
   struct PyNameTraits<size_t> {
     static std::string GetName() { return "S"; }
   };
+#endif
 
   template<typename T>
   struct PyNameTraits<std::shared_ptr<T>> {
diff -rupN --no-dereference netgen-6.2.2101/libsrc/core/table.hpp netgen-6.2.2101-new/libsrc/core/table.hpp
--- netgen-6.2.2101/libsrc/core/table.hpp	2021-01-15 15:50:18.000000000 +0100
+++ netgen-6.2.2101-new/libsrc/core/table.hpp	2021-01-24 22:34:32.792548202 +0100
@@ -101,8 +101,10 @@ namespace ngcore
   { return TablePrefixSum32 (FlatArray<unsigned> (entrysize.Size(), (unsigned int*)(int*)(entrysize.Addr(0)))); }
   NETGEN_INLINE size_t * TablePrefixSum (FlatArray<std::atomic<int>> entrysize)
   { return TablePrefixSum32 (FlatArray<unsigned> (entrysize.Size(), (unsigned int*)(std::atomic<int>*)entrysize.Addr(0))); }
+#ifdef _____LP64_____
   NETGEN_INLINE size_t * TablePrefixSum (FlatArray<size_t> entrysize)
   { return TablePrefixSum64 (entrysize); }
+#endif
 
 
   /**