From d3ec8e547e771362355cd734d968f9b9a40e3e79 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 9 Mar 2009 13:29:13 +0000 Subject: [PATCH] __LP64__ is what's defined, not _LP64_, according to the manual (and also experience). --- sys/dev/exca/exca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/exca/exca.c b/sys/dev/exca/exca.c index f90a3e79d97..ed39ddc3d7f 100644 --- a/sys/dev/exca/exca.c +++ b/sys/dev/exca/exca.c @@ -257,7 +257,7 @@ exca_mem_map(struct exca_softc *sc, int kind, struct resource *res) if (win >= EXCA_MEM_WINS) return (ENOSPC); if (sc->flags & EXCA_HAS_MEMREG_WIN) { -#ifdef _LP64 +#ifdef __LP64__ if (rman_get_start(res) >> (EXCA_MEMREG_WIN_SHIFT + 8) != 0) { device_printf(sc->dev, "Does not support mapping above 4GB.");