1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +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

@ -24,11 +24,9 @@
#include <string>
#ifndef _MSC_VER
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS
#endif
#endif
#include <inttypes.h>
#include <boost/algorithm/string/case_conv.hpp>
@ -654,22 +652,14 @@ inline int dayOfWeek(std::string day) // Sunday = 0
inline string intToString(int64_t i)
{
char buf[32];
#ifndef _MSC_VER
snprintf(buf, 32, "%" PRId64 "", i);
#else
snprintf(buf, 32, "%lld", i);
#endif
return buf;
}
inline string uintToString(uint64_t i)
{
char buf[32];
#ifndef _MSC_VER
snprintf(buf, 32, "%" PRIu64 "", i);
#else
snprintf(buf, 32, "%llu", i);
#endif
return buf;
}