diff --git a/README.md b/README.md index d56ed39..0a801b0 100644 --- a/README.md +++ b/README.md @@ -11,10 +11,10 @@ Under initial implementation. Not ready for adaption yet. ## Supported platforms -- Linux with g++-13 -- Linux with clang-17 -- Windows with msvc -- MacOS with g++-13 (Apples outdated clang compiler will not do) +- Linux with g++ 13 +- Linux with clang 17 +- Windows with msvc 14 +- MacOS with g++ 13 (Apples outdated clang compiler will not do) ## Introduction diff --git a/tests/unit_tests.cpp b/tests/unit_tests.cpp index 31e9022..eee172c 100644 --- a/tests/unit_tests.cpp +++ b/tests/unit_tests.cpp @@ -9,6 +9,12 @@ #include "gtest/gtest.h" //#include "mysqlpool/test_helper.h" +#ifdef _MSC_VER +# include + // Use _putenv_s when compiled with Microsoft's compiler +# define setenv(key, value, ignore) _putenv_s(key, value) +#endif + using namespace std; using namespace std::string_literals; using namespace jgaa::mysqlpool;