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 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;