Mobile API Reference  MicroStrategy 2019
PDCcrtdbg.h
Go to the documentation of this file.
1 //==============================================================================================
2 // FILENAME : PDCcrtdbg.h
3 // AUTHOR : Perl Script
4 // CREATION : 6/13/02
5 // Copyright (C) MicroStrategy, Inc. 2002
6 //==============================================================================================
7 #ifndef PDCcrtdbg_h
8 #define PDCcrtdbg_h
9 
10 // this must be the *first* file included
11 #include "ProtectedSource/Prolog.h"
12 
13 #ifdef WIN32
14 #include <crtdbg.h>
15 #else
16 
17 #define _CRTDBG_ALLOC_MEM_DF 0x01 /* Turn on debug allocation */
18 #define _CRTDBG_DELAY_FREE_MEM_DF 0x02 /* Don't actually free memory */
19 #define _CRTDBG_CHECK_ALWAYS_DF 0x04 /* Check heap every alloc/dealloc */
20 #define _CRTDBG_RESERVED_DF 0x08 /* Reserved - do not use */
21 #define _CRTDBG_CHECK_CRT_DF 0x10 /* Leak check/diff CRT blocks */
22 #define _CRTDBG_LEAK_CHECK_DF 0x20 /* Leak check at program exit */
23 
24 #define _CRTDBG_REPORT_FLAG -1 /* Query bitflag status */
25 
26 #endif // WIN32
27 
28 // this must be the *last* file included
29 #include "ProtectedSource/Epilog.h"
30 
31 #endif // PDCcrtdbg_h