blob: cd87e18a6b8e05c342c3a93b73315d509263142e [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/server/drivers/port.h
2+++ b/server/drivers/port.h
3@@ -94,7 +94,7 @@ static inline int port_deny_multiple(uns
4 /* ---------------------------- Linux ------------------------------------ */
5 /* Use ioperm, inb and outb in <sys/io.h> (Linux) */
6 /* And iopl for higher addresses of PCI LPT cards */
7-#if defined HAVE_IOPERM
8+#if defined(__GLIBC__) || (defined(__x86__) || defined(__x86_64__))
9
10 /* Glibc2 and Glibc1 */
11 # ifdef HAVE_SYS_IO_H