Mercurial > projects > ldc
comparison dmd/mars.c @ 374:1f20b9f7de1b
Fix nativeobj extension for Windows.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 21 Jul 2008 20:11:15 +0200 |
parents | 1d3026702f65 |
children | ecf70fe065b9 |
comparison
equal
deleted
inserted
replaced
373:d1574e142e93 | 374:1f20b9f7de1b |
---|---|
50 sym_ext = "d"; | 50 sym_ext = "d"; |
51 hdr_ext = "di"; | 51 hdr_ext = "di"; |
52 doc_ext = "html"; | 52 doc_ext = "html"; |
53 ddoc_ext = "ddoc"; | 53 ddoc_ext = "ddoc"; |
54 | 54 |
55 #if IN_LLVM | 55 // LLVMDC |
56 obj_ext = "bc"; | 56 obj_ext = "bc"; |
57 ll_ext = "ll"; | 57 ll_ext = "ll"; |
58 bc_ext = "bc"; | 58 bc_ext = "bc"; |
59 #if _WIN32 | |
60 nativeobj_ext = "obj"; | |
61 #elif linux | |
59 nativeobj_ext = "o"; | 62 nativeobj_ext = "o"; |
60 #elif _WIN32 | |
61 obj_ext = "obj"; | |
62 #elif linux | |
63 obj_ext = "o"; | |
64 #else | 63 #else |
65 #error "fix this" | 64 #error "fix this" |
66 #endif | 65 #endif |
67 | 66 |
68 copyright = "Copyright (c) 1999-2008 by Digital Mars and Tomas Lindquist Olsen"; | 67 copyright = "Copyright (c) 1999-2008 by Digital Mars and Tomas Lindquist Olsen"; |