diff options
author | Ryan Bloom <rbb@apache.org> | 2000-12-19 17:05:48 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-12-19 17:05:48 +0000 |
commit | b5440c348ae9b750b2fa936868f979e9022cf52b (patch) | |
tree | c5c23fc8a0bfe3547f08a8ce208ac4d10fd9ff67 /include/ap_listen.h | |
parent | b22291af269fcce78bc9f44a842ea7a867aef103 (diff) | |
download | httpd-b5440c348ae9b750b2fa936868f979e9022cf52b.tar.gz |
Force all Apache functions to be linked into the executable, whether they
are used or not. This uses the same mechanism that is used for APR
and APR-util. This may not be the correct solution, but it works, and that
is what I really care about. This also renames CHARSET_EBCDIC to
AP_CHARSET_EBCDIC. This is for namespace correctness, but it also makes
the exports script a bit easier.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87424 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_listen.h')
-rw-r--r-- | include/ap_listen.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/ap_listen.h b/include/ap_listen.h index 8beee07aa8..e723224a54 100644 --- a/include/ap_listen.h +++ b/include/ap_listen.h @@ -56,6 +56,7 @@ #define AP_LISTEN_H #include "apr_network_io.h" +#include "httpd.h" #include "http_config.h" /** @@ -114,7 +115,10 @@ void ap_listen_pre_config(void); * Prefork or SPMT_OS2 MPMs. */ int ap_setup_listeners(server_rec *s); -#else +#endif +/* Split into two #if's to make the exports scripts easier. + */ +#if defined(WIN32) || defined(SPMT_OS2_MPM) /** * Create and open a socket on the specified port. This includes listening * and binding the socket. |