aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/crtmemdebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/public/crtmemdebug.h')
-rw-r--r--mp/src/public/crtmemdebug.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/mp/src/public/crtmemdebug.h b/mp/src/public/crtmemdebug.h
new file mode 100644
index 00000000..f31451a1
--- /dev/null
+++ b/mp/src/public/crtmemdebug.h
@@ -0,0 +1,33 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $Workfile: $
+// $Date: $
+//
+//-----------------------------------------------------------------------------
+// $Log: $
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef CRTMEMDEBUG_H
+#define CRTMEMDEBUG_H
+#pragma once
+
+#ifdef USECRTMEMDEBUG
+
+#include <crtdbg.h>
+#define MEMCHECK CheckHeap()
+void CheckHeap( void );
+
+#else
+
+#define MEMCHECK
+
+#endif
+
+void InitCRTMemDebug( void );
+
+
+#endif // CRTMEMDEBUG_H