comparison dmd/root.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 bc982f1ad106
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 <stdint.h> 14 #include <stdint.h>
15 #include <assert.h> 15 #include <assert.h>
16
17 #if (defined (__SVR4) && defined (__sun))
18 #include <alloca.h>
19 #endif
16 20
17 #if _MSC_VER ||__MINGW32__ 21 #if _MSC_VER ||__MINGW32__
18 #include <malloc.h> 22 #include <malloc.h>
19 #include <string> 23 #include <string>
20 #endif 24 #endif