bugfix: wrong assertions for C++ code generation; some solaris support; first steps to an effect system
This commit is contained in:
parent
86ed918157
commit
2133fbfcce
11 changed files with 193 additions and 22 deletions
|
|
@ -470,4 +470,6 @@ static inline void GCGuard (void *ptr) { asm volatile ("" :: "X" (ptr)); }
|
|||
# define GC_GUARD
|
||||
#endif
|
||||
|
||||
typedef int assert_numbits[sizeof(NI) == sizeof(void*) &&
|
||||
NIM_INTBITS == sizeof(NI)*8 ? 1 : -1];
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@ when defined(Windows):
|
|||
import winlean
|
||||
else:
|
||||
import posix
|
||||
|
||||
when defined(solaris):
|
||||
{.passl: "-lsocket -lnsl".}
|
||||
|
||||
# Note: The enumerations are mapped to Window's constants.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue