summaryrefslogtreecommitdiffstats
path: root/tools/ddcprobe/vbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ddcprobe/vbe.c')
-rw-r--r--tools/ddcprobe/vbe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ddcprobe/vbe.c b/tools/ddcprobe/vbe.c
index 8d16f7472..b710c79bb 100644
--- a/tools/ddcprobe/vbe.c
+++ b/tools/ddcprobe/vbe.c
@@ -14,7 +14,7 @@
#include <unistd.h>
#include "vesamode.h"
#include "vbe.h"
-#if defined(__i386__) || defined(__x86_64__)
+#ifdef HAVE_VBE
#include "int10/vbios.h"
#endif
@@ -32,7 +32,7 @@
#define cpuemu 0
#endif
-#if defined(__i386__) || defined(__x86_64__)
+#ifdef HAVE_VBE
/*
* Create a 'canonical' version, i.e. no spaces at start and end.
*