mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Fix prototype of apache_child_exit_handler and remove popen-related
preprocessor directives/macros.
This commit is contained in:
parent
1722999310
commit
06382f01fd
1 changed files with 1 additions and 15 deletions
|
@ -78,7 +78,7 @@ int php_xbithack_handler(request_rec * r);
|
|||
void php_init_handler(server_rec *s, pool *p);
|
||||
|
||||
#if MODULE_MAGIC_NUMBER >= 19970728
|
||||
void php_child_exit_handler(server_rec *s, pool *p);
|
||||
static void php_child_exit_handler(server_rec *s, pool *p);
|
||||
#endif
|
||||
|
||||
#if MODULE_MAGIC_NUMBER > 19961007
|
||||
|
@ -110,20 +110,6 @@ typedef struct _php_per_dir_entry {
|
|||
int type;
|
||||
} php_per_dir_entry;
|
||||
|
||||
/* handled apropriately in apache_php_module_main */
|
||||
/* popenf isn't working on Windows, use open instead
|
||||
#if WIN32|WINNT
|
||||
# ifdef popenf
|
||||
# undef popenf
|
||||
# endif
|
||||
# define popenf(p,n,f,m) open((n),(f),(m))
|
||||
# ifdef pclosef
|
||||
# undef pclosef
|
||||
# endif
|
||||
# define pclosef(p,f) close(f)
|
||||
#endif
|
||||
*/
|
||||
|
||||
php_apache_info_struct php_apache_info; /* active config */
|
||||
|
||||
/* some systems are missing these from their header files */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue