diff options
-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 |