Commit 9e43ec62 authored by Brian Havard's avatar Brian Havard
Browse files

Test for AP_USE_HSREGEX, not USE_HSREGEX, as that's what actually gets

defined (in ap_config_auto.h) when using the bundled hsregex.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84795 13f79535-47bb-0310-9956-ffa450edef68
parent 64172940
Loading
Loading
Loading
Loading
+1 −1
Changes for include/ap_config.h: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -1089,7 +1089,7 @@ typedef int rlim_t;

#ifdef WIN32
#include "../include/hsregex.h"
#elif defined(USE_HSREGEX)
#elif defined(AP_USE_HSREGEX)
#include "hsregex.h"
#else
#include <regex.h>
+1 −1
Changes for include/httpd.h: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -942,7 +942,7 @@ API_EXPORT(char *) ap_uudecode(ap_context_t *p, const char *bufcoded);
API_EXPORT(char *) ap_uuencode(ap_context_t *p, char *string); 

/* Regexes */
#if defined(USE_HSREGEX) || defined(WIN32)
#if defined(AP_USE_HSREGEX) || defined(WIN32)
#include "hsregex.h"
#else
#include <regex.h>