1
0
mirror of https://github.com/simh/simh.git synced 2026-04-17 00:36:00 +00:00

SCP: Avoid broken regular expression APIs

If libpcreposix isn't available, we can't fall back to the local
regex.h since the default C runtime on Linux and OS/X implementations
of the regex functionality doesn't ever match regular expressions
with imbedded newlines.
This commit is contained in:
Mark Pizzolato
2020-01-01 20:23:17 -08:00
parent 9185a3d8f0
commit 714f0a445b
2 changed files with 0 additions and 13 deletions

View File

@@ -150,9 +150,6 @@ extern int sim_vax_snprintf(char *buf, size_t buf_size, const char *fmt, ...);
#include <pcreposix.h>
#include <pcre.h>
#define USE_REGEX 1
#elif defined(HAVE_REGEX_H)
#include <regex.h>
#define USE_REGEX 1
#endif
#ifdef __cplusplus