Blob Blame History Raw
diff -rupN --no-dereference netgen-6.2.2007/libsrc/core/python_ngcore.hpp netgen-6.2.2007-new/libsrc/core/python_ngcore.hpp
--- netgen-6.2.2007/libsrc/core/python_ngcore.hpp	2020-07-23 20:51:48.000000000 +0200
+++ netgen-6.2.2007-new/libsrc/core/python_ngcore.hpp	2020-07-23 23:12:18.313198693 +0200
@@ -55,10 +55,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.2007/libsrc/core/table.hpp netgen-6.2.2007-new/libsrc/core/table.hpp
--- netgen-6.2.2007/libsrc/core/table.hpp	2020-07-23 20:51:48.000000000 +0200
+++ netgen-6.2.2007-new/libsrc/core/table.hpp	2020-07-23 23:12:18.313198693 +0200
@@ -101,8 +101,10 @@ public:
   { 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
 
 
 /**