From: Wez Furlong Date: Tue, 2 Dec 2003 08:54:39 +0000 (+0000) Subject: Fix MBSTRING_API for non-shared win32 builds X-Git-Tag: php-5.0.0b3RC1~423 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e68b2fa5fe8e39127384cc99266392c098dd10cf;p=php Fix MBSTRING_API for non-shared win32 builds --- diff --git a/ext/mbstring/mbstring.h b/ext/mbstring/mbstring.h index b396ac17a5..31e12c2356 100644 --- a/ext/mbstring/mbstring.h +++ b/ext/mbstring/mbstring.h @@ -55,8 +55,10 @@ # undef MBSTRING_API # ifdef MBSTRING_EXPORTS # define MBSTRING_API __declspec(dllexport) -# else +# elif defined(COMPILE_DL_MBSTRING) # define MBSTRING_API __declspec(dllimport) +# else +# define MBSTRING_API /* nothing special */ # endif #else # undef MBSTRING_API