Mercurial > projects > ldc
view dmd/rmem.h @ 1393:04177061f98d
Patch to allow compiling LDC with MinGW, by `mp4 / [1]jaffa` (slightly edited).
Closes #300.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Mon, 18 May 2009 14:02:50 +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__