52 |
|
|
53 |
#elif defined(LINUX) || defined(DJGPP) |
#elif defined(LINUX) || defined(DJGPP) |
54 |
|
|
55 |
|
|
56 |
|
#ifdef _DEBUG |
57 |
|
|
58 |
#include <stdio.h> |
#include <stdio.h> |
59 |
#define DEBUG_WHERE stdout |
#define DEBUG_WHERE stdout |
60 |
#define DEBUG(S) fprintf(DEBUG_WHERE, "%s\n", (S)); |
#define DEBUG(S) fprintf(DEBUG_WHERE, "%s\n", (S)); |
62 |
#define DEBUG2(S,A,B) fprintf(DEBUG_WHERE, "%s%i=%i\n", (S), (A), (B)) |
#define DEBUG2(S,A,B) fprintf(DEBUG_WHERE, "%s%i=%i\n", (S), (A), (B)) |
63 |
#define DEBUG3(S,A,B,C) fprintf(DEBUG_WHERE, "%s %i %x %x\n", (S), (A), (B), (C)) |
#define DEBUG3(S,A,B,C) fprintf(DEBUG_WHERE, "%s %i %x %x\n", (S), (A), (B), (C)) |
64 |
#define DEBUG8(S,A,B,C,D,E,F,G,H) |
#define DEBUG8(S,A,B,C,D,E,F,G,H) |
65 |
|
#else |
66 |
|
#define DEBUG(S) |
67 |
|
#define DEBUG1(S,I) |
68 |
|
#define DEBUG2(X,A,B) |
69 |
|
#define DEBUG3(X,A,B,C) |
70 |
|
#define DEBUG8(X,A,B,C,D,E,F,G,H) |
71 |
|
#endif |
72 |
|
|
73 |
#if defined(LINUX) |
#if defined(LINUX) |
74 |
|
|