From 1e6bd8f8e85942493b24482b35c45c874f5427ea Mon Sep 17 00:00:00 2001 From: Frits van Bommel Date: Fri, 13 Mar 2009 19:22:40 +0100 Subject: [PATCH] Hopefully fix #232 --- gen/configfile.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gen/configfile.cpp b/gen/configfile.cpp index 1fd2716d..c318f231 100644 --- a/gen/configfile.cpp +++ b/gen/configfile.cpp @@ -41,6 +41,10 @@ bool ConfigFile::read(const char* argv0, void* mainAddr, const char* filename) { // 3) try the install-prefix/etc p = sys::Path(LDC_INSTALL_PREFIX); + #if !_WIN32 + // Does Window need something similar? + p.appendComponent("etc"); + #endif p.appendComponent(filename); if (!p.exists())