summaryrefslogtreecommitdiff
path: root/src/nv_const.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nv_const.h')
-rw-r--r--src/nv_const.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nv_const.h b/src/nv_const.h
index 8f9799c..6f3dfd0 100644
--- a/src/nv_const.h
+++ b/src/nv_const.h
@@ -6,7 +6,7 @@
#define NV_DRIVER_NAME "nv"
/* libpciaccess gratuitous API changes */
-#if XSERVER_LIBPCIACCESS
+#ifdef XSERVER_LIBPCIACCESS
#define MEMBASE(p,n) (p)->regions[n].base_addr
#define VENDOR_ID(p) (p)->vendor_id
#define DEVICE_ID(p) (p)->device_id