diff options
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/dietlibc/include/sys/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/dietlibc/include/sys/io.h b/mdk-stage1/dietlibc/include/sys/io.h index 5edf33a57..40a0d459b 100644 --- a/mdk-stage1/dietlibc/include/sys/io.h +++ b/mdk-stage1/dietlibc/include/sys/io.h @@ -8,7 +8,7 @@ extern int iopl(int level) __THROW; #ifndef __STRICT_ANSI__ /* anyone have a cleaner solution for this mess? */ -#ifdef __i386__ +#if defined(__i386__) || defined(__x86_64__) static inline unsigned char inb (unsigned short int port) { unsigned char _v; __asm__ __volatile__ ("inb %w1,%0":"=a" (_v):"Nd" (port)); |