Fix prototype of apache_child_exit_handler and remove popen-related

preprocessor directives/macros.
This commit is contained in:
Sascha Schumann 2000-07-10 09:20:35 +00:00
parent 1722999310
commit 06382f01fd

View file

@ -78,7 +78,7 @@ int php_xbithack_handler(request_rec * r);
void php_init_handler(server_rec *s, pool *p); void php_init_handler(server_rec *s, pool *p);
#if MODULE_MAGIC_NUMBER >= 19970728 #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 #endif
#if MODULE_MAGIC_NUMBER > 19961007 #if MODULE_MAGIC_NUMBER > 19961007
@ -110,20 +110,6 @@ typedef struct _php_per_dir_entry {
int type; int type;
} php_per_dir_entry; } 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 */ php_apache_info_struct php_apache_info; /* active config */
/* some systems are missing these from their header files */ /* some systems are missing these from their header files */