mirror of
https://github.com/apache/httpd.git
synced 2025-08-13 14:40:20 +00:00
remove OS/2 platform support
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758929 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -37,11 +37,6 @@
|
||||
#include "apr_date.h" /* For apr_date_parse_http() */
|
||||
#include "util_ebcdic.h"
|
||||
|
||||
#ifdef OS2
|
||||
#define INCL_DOS
|
||||
#include <os2.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Various utility functions which are common to a whole lot of
|
||||
* script-type extensions mechanisms, and might as well be gathered
|
||||
@ -122,7 +117,7 @@ AP_DECLARE(void) ap_add_common_vars(request_rec *r)
|
||||
conn_rec *c = r->connection;
|
||||
const char *rem_logname;
|
||||
char *env_path;
|
||||
#if defined(WIN32) || defined(OS2)
|
||||
#if defined(WIN32)
|
||||
char *env_temp;
|
||||
#endif
|
||||
const char *host;
|
||||
@ -200,21 +195,6 @@ AP_DECLARE(void) ap_add_common_vars(request_rec *r)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef OS2
|
||||
if ((env_temp = getenv("COMSPEC")) != NULL) {
|
||||
apr_table_addn(e, "COMSPEC", env_temp);
|
||||
}
|
||||
if ((env_temp = getenv("ETC")) != NULL) {
|
||||
apr_table_addn(e, "ETC", env_temp);
|
||||
}
|
||||
if ((env_temp = getenv("DPATH")) != NULL) {
|
||||
apr_table_addn(e, "DPATH", env_temp);
|
||||
}
|
||||
if ((env_temp = getenv("PERLLIB_PREFIX")) != NULL) {
|
||||
apr_table_addn(e, "PERLLIB_PREFIX", env_temp);
|
||||
}
|
||||
#endif
|
||||
|
||||
apr_table_addn(e, "SERVER_SIGNATURE", ap_psignature("", r));
|
||||
apr_table_addn(e, "SERVER_SOFTWARE", ap_get_server_banner());
|
||||
apr_table_addn(e, "SERVER_NAME",
|
||||
|
Reference in New Issue
Block a user