aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/integers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/integers.c b/stdlib/integers.c
index 8d305daf..6b0a9dd2 100644
--- a/stdlib/integers.c
+++ b/stdlib/integers.c
@@ -14,7 +14,7 @@
#include "text.h"
#include "types.h"
-static gmp_randstate_t Int_rng = {};
+static _Thread_local gmp_randstate_t Int_rng = {};
public void Int$init_random(long seed) {
gmp_randinit_default(Int_rng);