aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib')
-rw-r--r--src/stdlib/rng.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stdlib/rng.c b/src/stdlib/rng.c
index 0221fa6b..5e98ba00 100644
--- a/src/stdlib/rng.c
+++ b/src/stdlib/rng.c
@@ -26,9 +26,9 @@ struct RNGState_t {
#ifdef __TINYC__
// TinyCC doesn't implement _Thread_local
-public _Thread_local RNG_t default_rng = (struct RNGState_t[1]){};
-#else
public RNG_t default_rng = (struct RNGState_t[1]){};
+#else
+public _Thread_local RNG_t default_rng = (struct RNGState_t[1]){};
#endif
PUREFUNC static Text_t RNG$as_text(const void *rng, bool colorize, const TypeInfo_t*)