From: Michael Wallner Date: Tue, 3 May 2005 11:00:18 +0000 (+0000) Subject: - update X-Git-Tag: RELEASE_0_8_0~34 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=634720c4e1cac414707bbe0dba0a6c4e47f9e5d9;p=m6w6%2Fext-http - update --- diff --git a/package.xml b/package.xml index 53a26c6..29972c2 100644 --- a/package.xml +++ b/package.xml @@ -30,10 +30,13 @@ 0.8.0dev - 2005-04-00 + 2005-05-00 beta diff --git a/php_http_std_defs.h b/php_http_std_defs.h index c9369b5..186a8b0 100644 --- a/php_http_std_defs.h +++ b/php_http_std_defs.h @@ -18,8 +18,14 @@ #ifndef PHP_HTTP_STD_DEFS_H #define PHP_HTTP_STD_DEFS_H -#ifdef PHP_WIN32 -# define PHP_HTTP_API __declspec(dllexport) +#if defined(PHP_WIN32) +# if defined(HTTP_EXPORTS) +# define PHP_HTTP_API __declspec(dllexport) +# elif defined(COMPILE_DL_HTTP) +# define PHP_HTTP_API __declspec(dllimport) +# else +# define PHP_HTTP_API +# endif #else # define PHP_HTTP_API #endif