1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +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

@ -26,11 +26,7 @@
#include <string>
#include <sstream>
#include <iomanip>
#ifdef _MSC_VER
#include <unordered_map>
#else
#include <tr1/unordered_map>
#endif
#ifndef NDEBUG
#define NDEBUG
@ -244,22 +240,14 @@ again:
catch (std::exception& ex)
{
cerr <<
#ifdef _MSC_VER
__FUNCTION__ <<
#else
__PRETTY_FUNCTION__ <<
#endif
":" << __LINE__ << ": caught an exception: " << ex.what() << endl;
throw;
}
catch (...)
{
cerr <<
#ifdef _MSC_VER
__FUNCTION__ <<
#else
__PRETTY_FUNCTION__ <<
#endif
":" << __LINE__ << ": caught an exception" << endl;
throw runtime_error("RWLock::down(): caught an exception");
}
@ -306,22 +294,14 @@ again:
catch (std::exception& ex)
{
cerr <<
#ifdef _MSC_VER
__FUNCTION__ <<
#else
__PRETTY_FUNCTION__ <<
#endif
":" << __LINE__ << ": caught an exception: " << ex.what() << endl;
throw;
}
catch (...)
{
cerr <<
#ifdef _MSC_VER
__FUNCTION__ <<
#else
__PRETTY_FUNCTION__ <<
#endif
":" << __LINE__ << ": caught an exception" << endl;
throw runtime_error("RWLock::timed_down(): caught an exception");
}