rand/rand.[ch]: Don't dynamically construct the global generator.
[catacomb] / rand / rand.h
index a024c0f..389526d 100644 (file)
@@ -290,7 +290,11 @@ enum {
 
 /* --- Default random number generator --- */
 
-extern grand rand_global;
+#ifdef RAND__HACKS
+  extern struct rand__gctx rand_global;
+#else
+  extern grand rand_global;
+#endif
 
 /* --- @rand_create@ --- *
  *