aboutsummaryrefslogtreecommitdiff
path: root/emulators/nonpareil/files/patch-src_state_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/nonpareil/files/patch-src_state_write.c')
-rw-r--r--emulators/nonpareil/files/patch-src_state_write.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/emulators/nonpareil/files/patch-src_state_write.c b/emulators/nonpareil/files/patch-src_state_write.c
new file mode 100644
index 000000000000..a6c405cea135
--- /dev/null
+++ b/emulators/nonpareil/files/patch-src_state_write.c
@@ -0,0 +1,12 @@
+--- src.orig/state_write.c Thu Jul 27 19:48:05 2006
++++ src/state_write.c Thu Jul 27 19:53:08 2006
+@@ -41,6 +41,9 @@
+ #include "csim.h" // $$$ for slide switches - really should get from sim instead
+ #include "state_io.h"
+
++#ifndef PRIx64
++#define PRIx64 "llx"
++#endif
+
+ static void xml_start_element (xmlTextWriterPtr writer, char *element_name)
+ {