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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user