diff options
| author | Edin Kadribasic <edink@php.net> | 2002-11-14 13:37:26 +0000 |
|---|---|---|
| committer | Edin Kadribasic <edink@php.net> | 2002-11-14 13:37:26 +0000 |
| commit | 65995b5c4f0048be7514e7322c8dd48348cf49a9 (patch) | |
| tree | 7ad6d6d30930268506f99af22828c2a76c906147 | |
| parent | a8bb6a9ecaab6977abf5f13ea203f85236431aca (diff) | |
| download | php-git-65995b5c4f0048be7514e7322c8dd48348cf49a9.tar.gz | |
MFH (fixes unix build of mbstring)
| -rw-r--r-- | ext/mbstring/mbstring.h | 16 |
1 files changed, 8 insertions, 8 deletions
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 |
