From dfb1b9231df8b7539511e70b3dd7ded5af3f81f1 Mon Sep 17 00:00:00 2001 From: Super-User Date: Fri, 6 Oct 2023 14:16:20 -0600 Subject: [PATCH] Added illumos macro for int8_t parse_value override. chars are signed in illumos implementation of stdint.h. --- 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