|
Check-in Number:
|
1352 | |
| Date: |
2001-Nov-16 17:01:20 (local)
2001-Nov-16 16:01:20 (UTC) |
| User: | simons |
| Branch: | |
| Comment: |
Added support for the PCRE library: If HAVE_PCREPOSIX is defined at
compile time, the PCRE POSIX wrapper functions will be used rather
than the system's regular expression engine. |
| Tickets: |
|
| Inspections: |
|
| Files: |
|
ossp-pkg/var/var.c 1.19 -> 1.20
--- var.c 2001/11/15 15:36:05 1.19
+++ var.c 2001/11/16 16:01:20 1.20
@@ -32,7 +32,11 @@
#include <stdio.h>
#include <errno.h>
#include <sys/types.h>
-#include <regex.h>
+#if defined(HAVE_PCREPOSIX)
+# include <pcreposix.h>
+#else
+# include <regex.h>
+#endif
#include "var.h"
/* The default configuration for the parser. */
|
|