Skip to content

Commit

Permalink
Added illumos macro for int8_t parse_value override. chars are signed…
Browse files Browse the repository at this point in the history
… in illumos implementation of stdint.h. (#971)
  • Loading branch information
jMichaelA authored Nov 14, 2023
1 parent fc15aa9 commit f253008
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions util/geosop/cxxopts.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f253008

Please sign in to comment.