comparison src/DLD-FUNCTIONS/regexp.cc @ 7117:373c39904877

[project @ 2007-11-07 18:48:00 by jwe]
author jwe
date Wed, 07 Nov 2007 18:48:01 +0000
parents a1dbe9d80eee
children ff2ff2c09865
comparison
equal deleted inserted replaced
7116:c7992b210874 7117:373c39904877
38 #include "oct-map.h" 38 #include "oct-map.h"
39 #include "str-vec.h" 39 #include "str-vec.h"
40 #include "quit.h" 40 #include "quit.h"
41 #include "parse.h" 41 #include "parse.h"
42 42
43 #ifdef HAVE_PCRE 43 #if defined (HAVE_PCRE_PCRE_H)
44 #include <pcre/pcre.h>
45 #elif defined (HAVE_PCRE_H)
44 #include <pcre.h> 46 #include <pcre.h>
45 #else 47 #elif defined (HAVE_REGEX)
46 #ifdef HAVE_REGEX 48 #if defined (__MINGW32__)
47 #ifdef __MINGW32__
48 #define __restrict 49 #define __restrict
49 #endif 50 #endif
50 #include <regex.h> 51 #include <regex.h>
51 #endif
52 #endif 52 #endif
53 53
54 // The regexp is constructed as a linked list to avoid resizing the 54 // The regexp is constructed as a linked list to avoid resizing the
55 // return values in arrays at each new match. 55 // return values in arrays at each new match.
56 56