mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-13 17:17:37 -05:00
Reorganisation of misc.c: Minefield has moved out to winmisc.c, and
so has the Windows dputs() - which has also acquired a Unix counterpart in uxmisc.c. -DDEBUG should now work on Unix. [originally from svn r2914]
This commit is contained in:
4
misc.h
4
misc.h
@ -50,9 +50,9 @@ void bufchain_fetch(bufchain *ch, void *data, int len);
|
||||
*/
|
||||
|
||||
#ifdef DEBUG
|
||||
void dprintf(char *fmt, ...);
|
||||
void debug_printf(char *fmt, ...);
|
||||
void debug_memdump(void *buf, int len, int L);
|
||||
#define debug(x) (dprintf x)
|
||||
#define debug(x) (debug_printf x)
|
||||
#define dmemdump(buf,len) debug_memdump (buf, len, 0);
|
||||
#define dmemdumpl(buf,len) debug_memdump (buf, len, 1);
|
||||
#else
|
||||
|
Reference in New Issue
Block a user