From a6d6fd236500380f85691357f447de3a974a4628 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Mon, 21 Jul 2008 20:11:15 +0200 Subject: [PATCH] Fix nativeobj extension for Windows. --- dmd/mars.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dmd/mars.c b/dmd/mars.c index f1c9b742..8a1707a1 100644 --- a/dmd/mars.c +++ b/dmd/mars.c @@ -52,15 +52,14 @@ Global::Global() doc_ext = "html"; ddoc_ext = "ddoc"; -#if IN_LLVM +// LLVMDC obj_ext = "bc"; ll_ext = "ll"; bc_ext = "bc"; - nativeobj_ext = "o"; -#elif _WIN32 - obj_ext = "obj"; +#if _WIN32 + nativeobj_ext = "obj"; #elif linux - obj_ext = "o"; + nativeobj_ext = "o"; #else #error "fix this" #endif