diff options
author | Araq <rumpf_a@web.de> | 2014-04-06 22:05:59 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-04-06 22:05:59 +0200 |
commit | 9840a6912d8ba4fd348f265fb8733c62ac578be4 (patch) | |
tree | 988b1a72eb902a4f63c4864713893cdf243eca4a /lib/nimbase.h | |
parent | 7c065bfadf472bd569773c98a50b8986136afb43 (diff) | |
parent | b2fd5629830ccc30de723eba2fd1e93cb12b518e (diff) | |
download | Nim-9840a6912d8ba4fd348f265fb8733c62ac578be4.tar.gz |
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
Diffstat (limited to 'lib/nimbase.h')
-rw-r--r-- | lib/nimbase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nimbase.h b/lib/nimbase.h index b16b27b2c..cfd33dca1 100644 --- a/lib/nimbase.h +++ b/lib/nimbase.h @@ -376,7 +376,7 @@ static inline void GCGuard (void *ptr) { asm volatile ("" :: "X" (ptr)); } # define GC_GUARD #endif -/* Test to see if nimrod and the C compiler agrees on the size of a pointer. +/* Test to see if nimrod and the C compiler agree on the size of a pointer. On disagreement, your C compiler will say something like: "error: 'assert_numbits' declared as an array with a negative size" */ typedef int assert_numbits[sizeof(NI) == sizeof(void*) && NIM_INTBITS == sizeof(NI)*8 ? 1 : -1]; |