1
0
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:
Simon Tatham
2003-03-06 13:24:02 +00:00
parent 645eee8647
commit 6f693ffeb0
4 changed files with 277 additions and 251 deletions

4
misc.h
View File

@ -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