From a0b74b09a5824d50613e3b3a5590e7a9ed515716 Mon Sep 17 00:00:00 2001 From: Wenfeng CAI <xoxyzox-m@yahoo.com> Date: 周二, 13 11月 2018 10:51:36 +0800 Subject: [PATCH] Fix assumed return type of MSVC --- src/library/base/StringUtils.cpp | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/library/base/StringUtils.cpp b/src/library/base/StringUtils.cpp index 14b9bc6..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,6 +11,11 @@ #include <string> #include <cstring> #include <algorithm> +#include <stdexcept> + +#ifdef _WIN32 +#include <time.h> //mktime under windows +#endif namespace license { using namespace std; -- Gitblit v1.9.1