From 14e5ca0ca8fa6f819fa89ee416b5513cba639cbb Mon Sep 17 00:00:00 2001 From: Philippe Tillet Date: Thu, 6 Aug 2015 20:50:05 -0700 Subject: [PATCH] Code quality: Fixed missing includes on getenv and to_string --- lib/external/getenv.hpp | 1 + lib/external/to_string.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/external/getenv.hpp b/lib/external/getenv.hpp index a31992a18..6b2960371 100644 --- a/lib/external/getenv.hpp +++ b/lib/external/getenv.hpp @@ -2,6 +2,7 @@ #define ISAAC_TOOLS_GETENV #include +#include namespace isaac { diff --git a/lib/external/to_string.hpp b/lib/external/to_string.hpp index 74ac81667..d963f4d2a 100644 --- a/lib/external/to_string.hpp +++ b/lib/external/to_string.hpp @@ -13,7 +13,7 @@ template inline std::string to_string ( T const t ) { -#ifdef _GLIBCXX_HAVE_BROKEN_VSWPRINTF +#ifdef __CYGWIN__ std::stringstream ss; ss << t; return ss.str();