From d5f2a5c204f2fe973a569a99731461820122358c Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 3 Apr 2019 16:13:12 +0200 Subject: [PATCH] add back what was required --- lib/system/threadlocalstorage.nim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/system/threadlocalstorage.nim b/lib/system/threadlocalstorage.nim index eeef0ccf8..b8ffee721 100644 --- a/lib/system/threadlocalstorage.nim +++ b/lib/system/threadlocalstorage.nim @@ -209,6 +209,12 @@ type tls: ThreadLocalStorage else: nil + when hasSharedHeap: + next, prev: PGcThread + stackBottom, stackTop: pointer + stackSize: int + else: + nil when emulatedThreadVars: var globalsSlot: ThreadVarSlot