source: GTP/trunk/App/Games/Jungle_Rumble/src/physic/foundation/include/NxAssert.h @ 1378

Revision 1378, 960 bytes checked in by giegl, 18 years ago (diff)

GTPD - Jungle Rumble - integrate into GTP SVN structure

Line 
1#ifndef NX_FOUNDATION_NXASSERT
2#define NX_FOUNDATION_NXASSERT
3/*----------------------------------------------------------------------------*\
4|
5|                                               Public Interface to NovodeX Technology
6|
7|                                                            www.novodex.com
8|
9\*----------------------------------------------------------------------------*/
10/** \addtogroup foundation
11  @{
12*/
13
14
15/**
16This ANSI assert is included so that NX_ASSERTs can continue to appear in user side
17code, where the custom assert in Assert.h would not work.
18*/
19
20#include <assert.h>
21#ifndef NX_ASSERT
22  #ifdef _DEBUG
23    #define NX_ASSERT(x) assert(x)
24  #else
25    #define NX_ASSERT(x) {}
26  #endif
27#endif
28
29 /** @} */
30#endif
31
32
33//AGCOPYRIGHTBEGIN
34///////////////////////////////////////////////////////////////////////////
35// Copyright © 2005 AGEIA Technologies.
36// All rights reserved. www.ageia.com
37///////////////////////////////////////////////////////////////////////////
38//AGCOPYRIGHTEND
39
Note: See TracBrowser for help on using the repository browser.