summary refs log tree commit diff stats
path: root/lib/nimbase.h
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-07-22 17:08:21 +0200
committerAraq <rumpf_a@web.de>2015-07-22 17:08:21 +0200
commit8594faa5436b2dea56288fa4668259e88f48f9fc (patch)
tree86337ec31ec438bec32a426756768350ee51815f /lib/nimbase.h
parentb0b716fca73293328d4290d6407f9f3cbcdfe164 (diff)
downloadNim-8594faa5436b2dea56288fa4668259e88f48f9fc.tar.gz
fixes #2841
Diffstat (limited to 'lib/nimbase.h')
-rw-r--r--lib/nimbase.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/nimbase.h b/lib/nimbase.h
index eea618bac..e796ba735 100644
--- a/lib/nimbase.h
+++ b/lib/nimbase.h
@@ -399,6 +399,10 @@ typedef int assert_numbits[sizeof(NI) == sizeof(void*) && NIM_INTBITS == sizeof(
 #  define NIM_EXTERNC
 #endif
 
+/* we have to tinker with TNimType as it's both part of system.nim and
+   typeinfo.nim but system.nim doesn't export it cleanly... */
+typedef struct TNimType TNimType;
+
 /* ---------------- platform specific includes ----------------------- */
 
 /* VxWorks related includes */