# HG changeset patch # User Christian Kamm # Date 1216663875 -7200 # Node ID 1f20b9f7de1bc81fa9c952979702ca010c409d1d # Parent d1574e142e93eca54b2e71b97bc26f915268da6f Fix nativeobj extension for Windows. diff -r d1574e142e93 -r 1f20b9f7de1b dmd/mars.c --- a/dmd/mars.c Tue Jul 15 15:16:56 2008 +0200 +++ b/dmd/mars.c Mon Jul 21 20:11:15 2008 +0200 @@ -52,15 +52,14 @@ doc_ext = "html"; ddoc_ext = "ddoc"; -#if IN_LLVM +// LLVMDC obj_ext = "bc"; ll_ext = "ll"; bc_ext = "bc"; +#if _WIN32 + nativeobj_ext = "obj"; +#elif linux nativeobj_ext = "o"; -#elif _WIN32 - obj_ext = "obj"; -#elif linux - obj_ext = "o"; #else #error "fix this" #endif