From d388e4dc166520babbb6f90540cea3490fa3586c Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Wed, 16 Feb 2005 09:53:26 +0000 Subject: [PATCH] Enable mbstring use on windows. We were linking against mbstring for some time now, but have never actually used it on Windows. Fixes #31980. --- ext/exif/exif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/exif/exif.c b/ext/exif/exif.c index ae3f61b1db..ab08afc58b 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -66,7 +66,7 @@ #include "ext/standard/php_image.h" #include "ext/standard/info.h" -#if HAVE_MBSTRING && !defined(COMPILE_DL_MBSTRING) +#if PHP_WIN32 ||(HAVE_MBSTRING && !defined(COMPILE_DL_MBSTRING)) #define EXIF_USE_MBSTRING 1 #else #define EXIF_USE_MBSTRING 0 -- 2.40.0