diff options
| author | Garrett Serack <garretts@php.net> | 2009-07-30 20:20:56 +0000 |
|---|---|---|
| committer | Garrett Serack <garretts@php.net> | 2009-07-30 20:20:56 +0000 |
| commit | bdcc7e14603bd42151729a0f5fbfa10f4e49c446 (patch) | |
| tree | 9bb8283d197dcdcf1d162a33f4800a21fb0317cd /sapi/embed/php_embed.c | |
| parent | 24e68ba62c5523a9bc3c08dff0418abd6880b924 (diff) | |
| download | php-git-bdcc7e14603bd42151729a0f5fbfa10f4e49c446.tar.gz | |
- Updated fix for bug #48911 (embed sapi misses SAPI_API)
#- Windows didn't need SAPI_API
Diffstat (limited to 'sapi/embed/php_embed.c')
| -rw-r--r-- | sapi/embed/php_embed.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/embed/php_embed.c b/sapi/embed/php_embed.c index d5997b67bc..564efcd4ab 100644 --- a/sapi/embed/php_embed.c +++ b/sapi/embed/php_embed.c @@ -107,7 +107,7 @@ static int php_embed_startup(sapi_module_struct *sapi_module) return SUCCESS; } -extern SAPI_API sapi_module_struct php_embed_module = { +extern EMBED_SAPI_API sapi_module_struct php_embed_module = { "embed", /* name */ "PHP Embedded Library", /* pretty name */ @@ -139,7 +139,7 @@ extern SAPI_API sapi_module_struct php_embed_module = { }; /* }}} */ -SAPI_API int php_embed_init(int argc, char **argv PTSRMLS_DC) +EMBED_SAPI_API int php_embed_init(int argc, char **argv PTSRMLS_DC) { zend_llist global_vars; #ifdef ZTS @@ -202,7 +202,7 @@ SAPI_API int php_embed_init(int argc, char **argv PTSRMLS_DC) return SUCCESS; } -SAPI_API void php_embed_shutdown(TSRMLS_D) +EMBED_SAPI_API void php_embed_shutdown(TSRMLS_D) { php_request_shutdown((void *) 0); php_module_shutdown(TSRMLS_C); |
