Mercurial > projects > ldc
comparison dmd/module.c @ 1133:eeb8b95ea92e
Cleanup DMD 1.041 merge.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Mon, 23 Mar 2009 20:26:33 +0100 |
parents | b30fe7e1dbb9 |
children | 1860414bf3b7 |
comparison
equal
deleted
inserted
replaced
1132:76e72fdef04d | 1133:eeb8b95ea92e |
---|---|
14 | 14 |
15 #if (defined (__SVR4) && defined (__sun)) | 15 #if (defined (__SVR4) && defined (__sun)) |
16 #include <alloca.h> | 16 #include <alloca.h> |
17 #endif | 17 #endif |
18 | 18 |
19 #if _MSC_VER || __MINGW32__ | 19 #if defined(_MSC_VER) || defined(__MINGW32__) |
20 #include <malloc.h> | 20 #include <malloc.h> |
21 #endif | 21 #endif |
22 | 22 |
23 #if IN_GCC | 23 #if IN_GCC |
24 #include "gdc_alloca.h" | 24 #include "gdc_alloca.h" |
564 } | 564 } |
565 } | 565 } |
566 } | 566 } |
567 | 567 |
568 #ifdef IN_GCC | 568 #ifdef IN_GCC |
569 // dump utf-8 encoded source | 569 // dump utf-8 encoded source |
570 if (dump_source) | 570 if (dump_source) |
571 { // %% srcname could contain a path ... | 571 { // %% srcname could contain a path ... |
572 d_gcc_dump_source(srcname, "utf-8", buf, buflen); | 572 d_gcc_dump_source(srcname, "utf-8", buf, buflen); |
573 } | 573 } |
574 #endif | 574 #endif |