diff --git a/ext/standard/config.w32 b/ext/standard/config.w32 index e1df289ca76..238b326249d 100644 --- a/ext/standard/config.w32 +++ b/ext/standard/config.w32 @@ -21,3 +21,6 @@ EXTENSION("standard", "array.c base64.c basic_functions.c browscap.c \ user_filters.c uuencode.c filters.c proc_open.c \ streamsfuncs.c http.c flock_compat.c", false /* never shared */); +if (PHP_MBREGEX != "no") { + CHECK_HEADER_ADD_INCLUDE("oniguruma.h", "CFLAGS_STANDARD", PHP_MBREGEX + ";ext\\mbstring\\oniguruma") +} \ No newline at end of file