diff --git a/src/system/helpers.cpp b/src/system/helpers.cpp index 3f894ed5b..00a8bacbb 100644 --- a/src/system/helpers.cpp +++ b/src/system/helpers.cpp @@ -1125,7 +1125,7 @@ std::vector split(const std::string &s, char delim) return vec; } -#if __cplusplus <= 201103L +#if __cplusplus < 201103L std::string to_string(int i) { std::stringstream s; diff --git a/src/system/helpers.h b/src/system/helpers.h index 0011c72eb..7cd1fef20 100644 --- a/src/system/helpers.h +++ b/src/system/helpers.h @@ -117,7 +117,7 @@ class CFileHelpers uint32_t GetWidth4FB_HW_ACC(const uint32_t _x, const uint32_t _w, const bool max=true); -#if __cplusplus <= 201103L +#if __cplusplus < 201103L std::string to_string(int); std::string to_string(unsigned int); std::string to_string(long);