From 55a0b40a159ff0da08b13c092ef715f78c9af5e3 Mon Sep 17 00:00:00 2001 From: Rick V Date: Thu, 13 Feb 2020 19:06:48 -0600 Subject: [PATCH] sun hack (why is char and signed char *the same type* on this platform?!) --- include/cxxopts.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 1644692..6e9a61e 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -39,6 +39,10 @@ THE SOFTWARE. #include #include +#ifdef __sun +#define int8_t signed char +#endif + #ifdef __cpp_lib_optional #include #define CXXOPTS_HAS_OPTIONAL