summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorcoffeepots <coffeepots@users.noreply.github.com>2016-09-09 11:53:17 +0100
committerGitHub <noreply@github.com>2016-09-09 11:53:17 +0100
commit9af584707da8ae9cacaf744988701dfd981c9371 (patch)
treec8736c319744ae31f3705dfa1010add2f207cb10
parent083b31b47314c1aa70b2726a9b7d0a3c942c2bd8 (diff)
downloadNim-9af584707da8ae9cacaf744988701dfd981c9371.tar.gz
Allow compilation of sharedtables.nim
tableimpl uses {.oldimmediate.}, which is defined in system/inclrtl.
-rw-r--r--lib/pure/collections/sharedtables.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pure/collections/sharedtables.nim b/lib/pure/collections/sharedtables.nim
index 7dc338f4e..28509caa1 100644
--- a/lib/pure/collections/sharedtables.nim
+++ b/lib/pure/collections/sharedtables.nim
@@ -15,6 +15,8 @@
 import
   hashes, math, locks
 
+include "system/inclrtl"
+
 type
   KeyValuePair[A, B] = tuple[hcode: Hash, key: A, val: B]
   KeyValuePairSeq[A, B] = ptr array[10_000_000, KeyValuePair[A, B]]