Mercurial > projects > ldc
view dmd/rmem.h @ 1440:d7ec997de427
Adjust runtime for recent ABI change on x86-64, since member functions are no
longer equivalent to regular functions with `this` as their first argument.
(They weren't anyway, but it happened to work as long as there was no `sret`
parameter)
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sun, 31 May 2009 14:27:01 +0200 |
parents | b30fe7e1dbb9 |
children |
line wrap: on
line source
#ifndef __RMEM_H__ #define __RMEM_H__ // jam memory stuff here #include "mem.h" #if (defined (__SVR4) && defined (__sun)) #include <alloca.h> #endif #ifdef __MINGW32__ #include <malloc.h> #endif #endif // __RMEM_H__