diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2004-08-26 02:59:57 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2004-08-26 02:59:57 +0000 |
commit | 56e961c6baa12b59aa9c1a6b885e7b26d3d043d3 (patch) | |
tree | 6db288a5863897a291f3dc1a220a353bcc2d8b65 /tools/ddcprobe/ddcxinfos.c | |
parent | bca044d23e02fbe89a93aa8df9cf4916cd9e2eaf (diff) | |
download | drakx-56e961c6baa12b59aa9c1a6b885e7b26d3d043d3.tar drakx-56e961c6baa12b59aa9c1a6b885e7b26d3d043d3.tar.gz drakx-56e961c6baa12b59aa9c1a6b885e7b26d3d043d3.tar.bz2 drakx-56e961c6baa12b59aa9c1a6b885e7b26d3d043d3.tar.xz drakx-56e961c6baa12b59aa9c1a6b885e7b26d3d043d3.zip |
Some arrangements for IA-64
Diffstat (limited to 'tools/ddcprobe/ddcxinfos.c')
-rw-r--r-- | tools/ddcprobe/ddcxinfos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ddcprobe/ddcxinfos.c b/tools/ddcprobe/ddcxinfos.c index 7807ebf16..ebfa32df9 100644 --- a/tools/ddcprobe/ddcxinfos.c +++ b/tools/ddcprobe/ddcxinfos.c @@ -10,7 +10,7 @@ #include "vbe.h" #include "vesamode.h" -#if defined(__i386__) || defined(__x86_64__) +#ifdef HAVE_VBE #include "int10/vbios.h" #else #define InitInt10(PCI_CONFIG) 0 @@ -54,7 +54,7 @@ int main(void) printf("%dKB of video ram\n", vbe_info->memory_size / 1024); /* List supported standard modes */ -#if defined(__i386__) || defined(__x86_64__) +#ifdef HAVE_VBE for (j = 0; j < vbe_info->modes; j++) for (i = 0; known_vesa_modes[i].x; i++) if (known_vesa_modes[i].number == vbe_info->mode_list[j]) |