Mercurial > projects > ldc
comparison dmd/array.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 | 297690b5d4a5 |
children | b30fe7e1dbb9 |
comparison
equal
deleted
inserted
replaced
871:e70a0e7e2260 | 872:aa953cc960b6 |
---|---|
11 #include <stdlib.h> | 11 #include <stdlib.h> |
12 #include <stdarg.h> | 12 #include <stdarg.h> |
13 #include <string.h> | 13 #include <string.h> |
14 #include <assert.h> | 14 #include <assert.h> |
15 | 15 |
16 #if (defined (__SVR4) && defined (__sun)) | |
17 #include <alloca.h> | |
18 #endif | |
19 | |
16 #if _MSC_VER || __MINGW32__ | 20 #if _MSC_VER || __MINGW32__ |
17 #include <malloc.h> | 21 #include <malloc.h> |
18 #endif | 22 #endif |
19 | 23 |
20 #if IN_GCC | 24 #if IN_GCC |