Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
704 B

/*++
Copyright (c) 1994-2000 Microsoft Corporation
Module Name: debug.h
Abstract: Debug defines, macros, prototypes
Author: Richard L Firth (rfirth) 20-May-1994
Revision History:
20-May-1994 rfirth -- Created
30-Apr-97 MohsinA -- Updating for NT50.
macros from "../common2/mdebug.h"
--*/
#if !defined(DEBUG)
#if DBG
#define DEBUG
#endif
#endif
#ifdef DBG
extern int Debugging;
extern int MyTrace;
#define DEBUG_PRINT(S) if( Debugging ){ printf S ; }else;
#define TRACE_PRINT(S) if( MyTrace ){ printf S; }else{}
#else
#define DEBUG_PRINT(S) /* nothing */
#define TRACE_PRINT(S) /* nothing */
#endif