Code quality: Fixed missing includes on getenv and to_string
This commit is contained in:
1
lib/external/getenv.hpp
vendored
1
lib/external/getenv.hpp
vendored
@@ -2,6 +2,7 @@
|
|||||||
#define ISAAC_TOOLS_GETENV
|
#define ISAAC_TOOLS_GETENV
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <cstdlib>
|
||||||
|
|
||||||
namespace isaac
|
namespace isaac
|
||||||
{
|
{
|
||||||
|
2
lib/external/to_string.hpp
vendored
2
lib/external/to_string.hpp
vendored
@@ -13,7 +13,7 @@ template<class T>
|
|||||||
inline std::string to_string ( T const t )
|
inline std::string to_string ( T const t )
|
||||||
{
|
{
|
||||||
|
|
||||||
#ifdef _GLIBCXX_HAVE_BROKEN_VSWPRINTF
|
#ifdef __CYGWIN__
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
ss << t;
|
ss << t;
|
||||||
return ss.str();
|
return ss.str();
|
||||||
|
Reference in New Issue
Block a user