diff options
| author | Dirk Meyer <dinoex@FreeBSD.org> | 2022-06-26 05:07:06 +0000 |
|---|---|---|
| committer | Dirk Meyer <dinoex@FreeBSD.org> | 2022-06-26 05:07:06 +0000 |
| commit | 244ec6f00ab34d8b10c819c8413098ffcbf96181 (patch) | |
| tree | 3c0adc944f9ee4d641fc0e029663a6ed4b47f277 /emulators/vice | |
| parent | 34d292c4a6a6d5d0d57e1a38a5f16d2030fd9cb3 (diff) | |
Diffstat (limited to 'emulators/vice')
| -rw-r--r-- | emulators/vice/files/patch-src_iodrv_io-unix-access.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/vice/files/patch-src_iodrv_io-unix-access.c b/emulators/vice/files/patch-src_iodrv_io-unix-access.c index 9adc61903536..e4cdf71a739d 100644 --- a/emulators/vice/files/patch-src_iodrv_io-unix-access.c +++ b/emulators/vice/files/patch-src_iodrv_io-unix-access.c @@ -16,3 +16,16 @@ #ifdef UNIX_COMPILE #include <fcntl.h> +@@ -84,10 +93,12 @@ + #include "io-access.h" + + #if defined(__linux) || defined(__FreeBSD__) || ((defined(sun) || defined(__sun)) && (defined(__SVR4) || defined(__svr4__))) ++#if !defined(__aarch64__) && !defined (__aarch64__) + + #define IO_PORT_ACCESS + + static int io_fd = -1; ++#endif + #endif + + #if (defined(sun) || defined(__sun)) && (defined(__SVR4) || defined(__svr4__)) |
