1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

Remove windows ifdefs

This commit is contained in:
Leonid Fedorov
2023-03-02 15:59:42 +00:00
parent 123c345b40
commit 56f2346083
328 changed files with 9 additions and 19602 deletions

View File

@@ -27,9 +27,6 @@ using namespace std;
#include <boost/thread/mutex.hpp>
using namespace boost;
#ifdef _MSC_VER
#include "idbregistry.h"
#endif
#include "installdir.h"
#include "configcpp.h"
@@ -54,16 +51,6 @@ const string StartUp::tmpDir()
if (fTmpDirp)
return *fTmpDirp;
#ifdef _MSC_VER
fTmpDirp = new string("C:\\Calpont\Tmp");
string cfStr = IDBreadRegistry("");
if (!cfStr.empty())
*fTmpDirp = cfStr;
return *fTmpDirp;
#else
// check for non-root user
/* const char* p = getenv("HOME");
@@ -108,7 +95,6 @@ const string StartUp::tmpDir()
return TempFileDir;
#endif
}
} // namespace startup