Skip to content

Commit

Permalink
emulators/vice: fix build on arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirk Meyer authored and Dirk Meyer committed Jun 26, 2022
1 parent 34d292c commit 244ec6f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions emulators/vice/files/patch-src_iodrv_io-unix-access.c
Original file line number Diff line number Diff line change
Expand Up @@ -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__))

0 comments on commit 244ec6f

Please sign in to comment.