summaryrefslogtreecommitdiffstats
path: root/sys/dev/esp/ncr53c9xvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/esp/ncr53c9xvar.h')
-rw-r--r--sys/dev/esp/ncr53c9xvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/esp/ncr53c9xvar.h b/sys/dev/esp/ncr53c9xvar.h
index 79afcee..c9ac4bb 100644
--- a/sys/dev/esp/ncr53c9xvar.h
+++ b/sys/dev/esp/ncr53c9xvar.h
@@ -142,11 +142,11 @@ struct ncr53c9x_ecb {
u_char tag[2]; /* TAG bytes */
u_char pad[1];
-#if NCR53C9X_DEBUG > 1
+#if defined(NCR53C9X_DEBUG) && NCR53C9X_DEBUG > 1
char trace[1000];
#endif
};
-#if NCR53C9X_DEBUG > 1
+#if defined(NCR53C9X_DEBUG) && NCR53C9X_DEBUG > 1
#define ECB_TRACE(ecb, msg, a, b) do { \
const char *f = "[" msg "]"; \
int n = strlen((ecb)->trace); \
OpenPOWER on IntegriCloud