ref: 620f4b87db1f28fa21b8b39c899a228d0335e585
parent: a02168a3f20db6754ba6110c6e734b133a996651
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sun Nov 26 15:20:18 EST 2023
9front does not have RAND_MAX, define it
--- a/quakedef.h
+++ b/quakedef.h
@@ -7,6 +7,7 @@
#ifdef __plan9__
typedef enum {false, true} bool;
+#define RAND_MAX ((2<<15)-1)
#endif
#define QUAKE_GAME // as opposed to utilities