diff options
| author | Holger Zimmermann <holger@php.net> | 2003-04-19 16:11:36 +0000 |
|---|---|---|
| committer | Holger Zimmermann <holger@php.net> | 2003-04-19 16:11:36 +0000 |
| commit | 93a53656a5f306a5fb0859c041c138a7bb3a25d9 (patch) | |
| tree | 1a72256e73db244bcf42ab8d0db62f91d19c56f5 /sapi/pi3web/pi3web_sapi.h | |
| parent | de76ceb2d300f7a4e6bde5edfe59d658043a4096 (diff) | |
| download | php-git-93a53656a5f306a5fb0859c041c138a7bb3a25d9.tar.gz | |
Added PHP4PI3WEB_EXPORTS in order to control exports/imports on Win32
Diffstat (limited to 'sapi/pi3web/pi3web_sapi.h')
| -rw-r--r-- | sapi/pi3web/pi3web_sapi.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sapi/pi3web/pi3web_sapi.h b/sapi/pi3web/pi3web_sapi.h index 36e08e7982..d1c38d744e 100644 --- a/sapi/pi3web/pi3web_sapi.h +++ b/sapi/pi3web/pi3web_sapi.h @@ -4,7 +4,7 @@ #ifdef PHP_WIN32 # include <windows.h> # include <httpext.h> -# ifdef SAPI_EXPORTS +# ifdef PHP4PI3WEB_EXPORTS # define MODULE_API __declspec(dllexport) # else # define MODULE_API __declspec(dllimport) @@ -79,9 +79,9 @@ typedef struct _CONTROL_BLOCK { } CONTROL_BLOCK, *LPCONTROL_BLOCK; -DWORD PHP4_wrapper(LPCONTROL_BLOCK lpCB); -BOOL PHP4_startup(); -BOOL PHP4_shutdown(); +MODULE_API DWORD PHP4_wrapper(LPCONTROL_BLOCK lpCB); +MODULE_API BOOL PHP4_startup(); +MODULE_API BOOL PHP4_shutdown(); // the following type declaration is for the server side typedef DWORD ( * PFN_WRAPPERFUNC )( CONTROL_BLOCK *pCB ); |
