From cbb682e6b86e0b462cef73fdaad61e4be83b06b6 Mon Sep 17 00:00:00 2001 From: Matteo Varalta <matteo.varalta@txtgroup.com> Date: 周二, 23 4月 2019 17:07:40 +0800 Subject: [PATCH] Porting to Centos 7: xfs file system, cmake 2.8.11 in example, static linking for -lgcc_s --- src/library/base/StringUtils.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/library/base/StringUtils.cpp b/src/library/base/StringUtils.cpp index 33e055a..97675b7 100644 --- a/src/library/base/StringUtils.cpp +++ b/src/library/base/StringUtils.cpp @@ -2,7 +2,7 @@ * StringUtils.cpp * * Created on: Apr 8, 2014 - * Author: devel + * */ #include <cctype> //toupper @@ -11,8 +11,9 @@ #include <string> #include <cstring> #include <algorithm> +#include <stdexcept> -#ifdef WIN32 +#ifdef _WIN32 #include <time.h> //mktime under windows #endif -- Gitblit v1.9.1