Mercurial > projects > ldc
comparison dmd/module.c @ 872:aa953cc960b6
Apply BlueZeniX's patch for OpenSolaris compatibility. Fixes #158.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 04 Jan 2009 15:49:28 +0100 |
parents | dc8b8b7ea0c1 |
children | 330f999ade44 |
comparison
equal
deleted
inserted
replaced
871:e70a0e7e2260 | 872:aa953cc960b6 |
---|---|
9 // See the included readme.txt for details. | 9 // See the included readme.txt for details. |
10 | 10 |
11 #include <stdio.h> | 11 #include <stdio.h> |
12 #include <stdlib.h> | 12 #include <stdlib.h> |
13 #include <assert.h> | 13 #include <assert.h> |
14 | |
15 #if (defined (__SVR4) && defined (__sun)) | |
16 #include <alloca.h> | |
17 #endif | |
14 | 18 |
15 #if _MSC_VER || __MINGW32__ | 19 #if _MSC_VER || __MINGW32__ |
16 #include <malloc.h> | 20 #include <malloc.h> |
17 #endif | 21 #endif |
18 | 22 |