Parent Directory | Revision Log
Revision 983 - (view) (download)
1 : | suxen_drol | 983 | #ifndef _DEBUG_H_ |
2 : | #define _DEBUG_H_ | ||
3 : | |||
4 : | #if defined(_DEBUG) | ||
5 : | #include <stdio.h> /* vsprintf */ | ||
6 : | #define DPRINTF_BUF_SZ 1024 | ||
7 : | static __inline void DPRINTF(char *fmt, ...) | ||
8 : | { | ||
9 : | va_list args; | ||
10 : | char buf[DPRINTF_BUF_SZ]; | ||
11 : | |||
12 : | va_start(args, fmt); | ||
13 : | vsprintf(buf, fmt, args); | ||
14 : | OutputDebugString(buf); | ||
15 : | } | ||
16 : | #else | ||
17 : | static __inline void DPRINTF(char *fmt, ...) { } | ||
18 : | #endif | ||
19 : | |||
20 : | #endif _DEBUG_H_ |
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |