ref: c914f9616cfc478242462004ba5eb1af416e8d62
parent: 8805075d742bd3eb434699c4591a5c8dfc340bc3
author: Lennart Augustsson <lennart.augustsson@epicgames.com>
date: Mon Nov 13 15:18:11 EST 2023
More windows fixes.
--- a/src/runtime/config-windows-64.h
+++ b/src/runtime/config-windows-64.h
@@ -84,6 +84,8 @@
return msec;
}
+/* Make this empty */
+#define NORETURN
/*
* The ERR macro should report an error and exit.
--- a/src/runtime/eval.c
+++ b/src/runtime/eval.c
@@ -52,6 +52,10 @@
#define INLINE inline
#endif /* !define(INLINE) */
+#if !defined(NORETURN)
+#define NORETURN __attribute__ ((noreturn))
+#endif /* !defined(NORETURN) */
+
/***************************************/
/* Keep permanent nodes for LOW_INT <= i < HIGH_INT */
@@ -154,7 +158,7 @@
heapoffs_t free_map_nwords;
heapoffs_t next_scan_index;
-__attribute__ ((noreturn)) // [[noreturn]]
+NORETURN
void
memerr(void)
{--
⑨