summaryrefslogtreecommitdiffstats
path: root/sys/dev/esp/ncr53c9xvar.h
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-12-04 10:06:06 +0000
committerru <ru@FreeBSD.org>2005-12-04 10:06:06 +0000
commit798500dfd84901b8d5d22e9a99c47e96fe8b9ec5 (patch)
treeacd04a6feb972f86071cbebb5420c10b69d82de9 /sys/dev/esp/ncr53c9xvar.h
parent1c586a3c0b58f2748ced33998d3565a41faee657 (diff)
downloadFreeBSD-src-798500dfd84901b8d5d22e9a99c47e96fe8b9ec5.zip
FreeBSD-src-798500dfd84901b8d5d22e9a99c47e96fe8b9ec5.tar.gz
Fix -Wundef from compiling the amd64 LINT.
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