From b2cd7c6c36b5d0e26740a3aaa7aeed6d2ea326c3 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 7 Jun 2001 23:03:10 +0000 Subject: [PATCH] refine the test for compiling outb --- libs/video/targets/vid_svgalib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/video/targets/vid_svgalib.c b/libs/video/targets/vid_svgalib.c index 67c0c25c3..a7455645d 100644 --- a/libs/video/targets/vid_svgalib.c +++ b/libs/video/targets/vid_svgalib.c @@ -673,7 +673,7 @@ VID_SetGamma (double gamma) return false; //FIXME } -#ifdef i386 +#if defined(i386) && defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 2)) void outb (unsigned char val, unsigned short port) {