Hopefully fix #232

This commit is contained in:
Frits van Bommel
2009-03-13 19:22:40 +01:00
parent ad46ec8bd0
commit 1e6bd8f8e8

View File

@@ -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())