diff options
author | Wez Furlong <wez@php.net> | 2003-12-02 08:54:39 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2003-12-02 08:54:39 +0000 |
commit | e68b2fa5fe8e39127384cc99266392c098dd10cf (patch) | |
tree | 1e41a75392f4fb4907e7493ed329b58fdf944acb /ext/mbstring/mbstring.h | |
parent | e4c614285fa8c8c322d55b8730cd92c3dc29092b (diff) | |
download | php-git-e68b2fa5fe8e39127384cc99266392c098dd10cf.tar.gz |
Fix MBSTRING_API for non-shared win32 builds
Diffstat (limited to 'ext/mbstring/mbstring.h')
-rw-r--r-- | ext/mbstring/mbstring.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |