]> OCCT Git - occt-copy.git/commitdiff
OCC22256 Add mechanism based on malloc/free callback for debugging memory problems
authorMSV <>
Thu, 19 May 2011 10:35:25 +0000 (10:35 +0000)
committerbugmaster <bugmaster@opencascade.com>
Mon, 5 Mar 2012 15:28:40 +0000 (19:28 +0400)
src/OSD/OSD_MAllocHook.cxx

index 8ed4385a5dbf6ff9d7778474767b01b9dca8b7ae..485a44850fa21a01d6aa37cf881fce3f81b1cb3f 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;