compile on linux

This commit is contained in:
2021-03-29 23:18:29 +02:00
parent a92020ac1e
commit 5afa7dd69f
4 changed files with 11 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
#include "csvparser.h"
#include <climits>
CsvParser::CsvParser(bool skip_hdr, char field_sep, char quote_ch, char line_sep, char line_sep2) {
@@ -119,4 +120,4 @@ bool CsvParser::is_string_float(const std::string &s, double &val) const {
if (errno == ERANGE && (val == HUGE_VAL || val == -HUGE_VAL)) return false;
if (val == 0 && errno != 0) return false;
return true;
}
}