OCC22256 Add mechanism based on malloc/free callback for debugging memory problems
[occt.git] / src / OSD / OSD_MAllocHook.cxx
index 8ed4385..485a448 100755 (executable)
 #include <set>
 #include <map>
 
+#ifndef SIZE_MAX
+#define SIZE_MAX UINT_MAX
+#endif
+
 #define MAX_STR 80
 
 static OSD_MAllocHook::Callback* MypCurrentCallback = NULL;