diff --git a/lix/libstore/local-store.cc b/lix/libstore/local-store.cc index 9f2828920..e3fc07538 100644 --- a/lix/libstore/local-store.cc +++ b/lix/libstore/local-store.cc @@ -38,10 +38,6 @@ #include #endif -#ifdef __CYGWIN__ -#include -#endif - #include @@ -510,16 +506,6 @@ void LocalStore::openDB(State & state, bool create) : SQLiteOpenMode::NoCreate; state.db = SQLite(dbPath, openMode); -#ifdef __CYGWIN__ - /* The cygwin version of sqlite3 has a patch which calls - SetDllDirectory("/usr/bin") on init. It was intended to fix extension - loading, which we don't use, and the effect of SetDllDirectory is - inherited by child processes, and causes libraries to be loaded from - /usr/bin instead of $PATH. This breaks quite a few things (e.g. - checkPhase on openssh), so we set it back to default behaviour. */ - SetDllDirectoryW(L""); -#endif - /* !!! check whether sqlite has been built with foreign key support */