summaryrefslogtreecommitdiff
path: root/src/mga_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mga_macros.h')
-rw-r--r--src/mga_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_macros.h b/src/mga_macros.h
index 3de9618..69dc8e3 100644
--- a/src/mga_macros.h
+++ b/src/mga_macros.h
@@ -3,7 +3,7 @@
#ifndef _MGA_MACROS_H_
#define _MGA_MACROS_H_
-#ifdef PCIACCESS
+#ifdef XSERVER_LIBPCIACCESS
#define MGA_IO_ADDRESS(p) (p)->PciInfo->regions[(p)->io_bar].base_addr
#define VENDOR_ID(p) (p)->vendor_id
#define DEVICE_ID(p) (p)->device_id