]> granicus.if.org Git - php/commitdiff
Fix MBSTRING_API for non-shared win32 builds
authorWez Furlong <wez@php.net>
Tue, 2 Dec 2003 08:54:39 +0000 (08:54 +0000)
committerWez Furlong <wez@php.net>
Tue, 2 Dec 2003 08:54:39 +0000 (08:54 +0000)
ext/mbstring/mbstring.h

index b396ac17a5af58449d27a6d156f4cd2cf5cb4336..31e12c2356547dbfe83625335bc4688251dfc134 100644 (file)
 # 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