Fix iostream for no exceptions

Fixes #356.
This commit is contained in:
Jarryd Beck 2022-08-08 07:07:59 +10:00
parent 96e72f7d15
commit 17b2c91049

View File

@ -43,6 +43,10 @@ THE SOFTWARE.
#include <vector>
#include <algorithm>
#ifdef CXXOPTS_NO_EXCEPTIONS
#include <iostream>
#endif
#if defined(__GNUC__) && !defined(__clang__)
# if (__GNUC__ * 10 + __GNUC_MINOR__) < 49
# define CXXOPTS_NO_REGEX true