From: Edin Kadribasic Date: Thu, 14 Nov 2002 13:37:26 +0000 (+0000) Subject: MFH (fixes unix build of mbstring) X-Git-Tag: php-4.3.0RC1~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65995b5c4f0048be7514e7322c8dd48348cf49a9;p=php MFH (fixes unix build of mbstring) --- diff --git a/ext/mbstring/mbstring.h b/ext/mbstring/mbstring.h index b5c3d65280..f52dcdcecb 100644 --- a/ext/mbstring/mbstring.h +++ b/ext/mbstring/mbstring.h @@ -49,18 +49,18 @@ #ifdef COMPILE_DL_MBSTRING #undef HAVE_MBSTRING #define HAVE_MBSTRING 1 -#undef MBSTRING_API -#define MBSTRING_API - #endif #ifdef PHP_WIN32 -#undef MBSTRING_API -#ifdef MBSTRING_EXPORTS -#define MBSTRING_API __declspec(dllexport) +# undef MBSTRING_API +# ifdef MBSTRING_EXPORTS +# define MBSTRING_API __declspec(dllexport) +# else +# define MBSTRING_API __declspec(dllimport) +# endif #else -#define MBSTRING_API __declspec(dllimport) -#endif +# undef MBSTRING_API +# define MBSTRING_API /* nothing special */ #endif