Mercurial > projects > ldc
comparison dmd/mars.c @ 785:ac39e5449ca5
Apply Elrood's CMake changes from #124. Thanks a lot!
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 24 Nov 2008 18:17:58 +0100 |
parents | 4ac97ec7c18e |
children | dce4b4ea2aee |
comparison
equal
deleted
inserted
replaced
784:a45179dfaa43 | 785:ac39e5449ca5 |
---|---|
343 assert(global.params.os != OSinvalid); | 343 assert(global.params.os != OSinvalid); |
344 | 344 |
345 //VersionCondition::addPredefinedGlobalIdent("D_Bits"); | 345 //VersionCondition::addPredefinedGlobalIdent("D_Bits"); |
346 VersionCondition::addPredefinedGlobalIdent("all"); | 346 VersionCondition::addPredefinedGlobalIdent("all"); |
347 | 347 |
348 #if _WIN32 | 348 //#if _WIN32 |
349 inifile(global.params.argv0, "ldc.ini"); | 349 // inifile(global.params.argv0, "ldc.ini"); |
350 #elif POSIX | 350 //#elif POSIX |
351 inifile(global.params.argv0, "ldc.conf"); | 351 inifile(global.params.argv0, "ldc.conf"); |
352 #else | 352 //#else |
353 #error | 353 //#error |
354 #endif | 354 //#endif |
355 getenv_setargv("DFLAGS", &argc, &argv); | 355 getenv_setargv("DFLAGS", &argc, &argv); |
356 | 356 |
357 #if 0 | 357 #if 0 |
358 for (i = 0; i < argc; i++) | 358 for (i = 0; i < argc; i++) |
359 { | 359 { |