From f2530082233466dc5644e3c11c68817ebd26f81b Mon Sep 17 00:00:00 2001 From: jMichaelA Date: Tue, 14 Nov 2023 15:41:32 -0700 Subject: [PATCH] Added illumos macro for int8_t parse_value override. chars are signed in illumos implementation of stdint.h. (#971) --- util/geosop/cxxopts.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/geosop/cxxopts.hpp b/util/geosop/cxxopts.hpp index 6ec7998a1c..1acfb88c2f 100644 --- a/util/geosop/cxxopts.hpp +++ b/util/geosop/cxxopts.hpp @@ -677,12 +677,14 @@ namespace cxxopts integer_parser(text, value); } + #ifndef __illumos__ inline void parse_value(const std::string& text, int8_t& value) { integer_parser(text, value); } + #endif inline void