Blob Blame History Raw
diff -rupN --no-dereference netgen-6.2.2202/libsrc/core/python_ngcore.hpp netgen-6.2.2202-new/libsrc/core/python_ngcore.hpp
--- netgen-6.2.2202/libsrc/core/python_ngcore.hpp	2022-03-11 12:48:52.000000000 +0100
+++ netgen-6.2.2202-new/libsrc/core/python_ngcore.hpp	2022-03-14 23:22:34.295557520 +0100
@@ -145,10 +145,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.2202/libsrc/core/table.hpp netgen-6.2.2202-new/libsrc/core/table.hpp
--- netgen-6.2.2202/libsrc/core/table.hpp	2022-03-11 12:48:52.000000000 +0100
+++ netgen-6.2.2202-new/libsrc/core/table.hpp	2022-03-14 23:22:34.295557520 +0100
@@ -104,8 +104,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
 
 
   /**