VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vlutil
vlDebugCrt.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2016 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
6
#ifdef _WIN32
7
8
// Adding this for testing. Later this should be based on an option in local.cmake
9
//#define MAK_ENABLE_CRT_DEBUG 1
10
11
#ifdef MAK_ENABLE_CRT_DEBUG
12
13
#define _CRTDBG_MAP_ALLOC
14
#include <stdlib.h>
15
#include <crtdbg.h>
16
17
#ifdef _DEBUG
18
#define DEBUG_CLIENTBLOCK new( _CLIENT_BLOCK, __FILE__, __LINE__)
19
#else
20
#define DEBUG_CLIENTBLOCK
21
#endif
22
23
#ifdef _DEBUG
24
#define new DEBUG_CLIENTBLOCK
25
#endif
26
27
#endif
28
29
#endif
Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)