Remove whitespace, update email addresses and URLs.
[kodak.git] / debug.h
1 //+----------------------------------------------------------------------------
2 //
3 // File:     debug.h
4 //
5 // Module:   
6 //
7 // Synopsis: 
8 //
9 // Author:       sgasch
10 //
11 // Created    4 Jun 1999
12 //
13 //+----------------------------------------------------------------------------
14
15 #ifndef _DEBUG
16 #define _DEBUG
17
18 #ifdef DEBUG
19
20 void _assert(const char *szFile, const int dwLine);
21
22 #define ASSERT(x)       if (x)    \
23                         { ; }     \
24                         else      \
25                         { (void) _assert(__FILE__, __LINE__); }
26
27 #else
28
29 #define ASSERT
30
31 #endif // DEBUG
32
33 #endif // _DEBUG