aboutsummaryrefslogtreecommitdiffhomepage
path: root/vidix/dha.c
diff options
context:
space:
mode:
Diffstat (limited to 'vidix/dha.c')
-rw-r--r--vidix/dha.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vidix/dha.c b/vidix/dha.c
index 638be29328..8a2d8fd1cd 100644
--- a/vidix/dha.c
+++ b/vidix/dha.c
@@ -43,7 +43,7 @@
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
-#ifdef ARCH_ALPHA
+#if ARCH_ALPHA
#include <sys/io.h>
#endif
#include <unistd.h>
@@ -91,7 +91,7 @@ static int mem_fd = -1;
void *map_phys_mem(unsigned long base, unsigned long size)
{
-#ifdef ARCH_ALPHA
+#if ARCH_ALPHA
/* TODO: move it into sysdep */
base += bus_base();
#endif