rasmus 99/02/05 05:17:33
Modified: src/main http_core.c Log: This Windows stuff was breaking the Unix compile Revision Changes Path 1.246 +4 -0 apache-1.3/src/main/http_core.c Index: http_core.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/main/http_core.c,v retrieving revision 1.245 retrieving revision 1.246 diff -u -r1.245 -r1.246 --- http_core.c 1999/02/05 00:37:49 1.245 +++ http_core.c 1999/02/05 13:17:33 1.246 @@ -2629,6 +2629,7 @@ return NULL; } +#ifdef WIN32 static const char *set_interpreter_source(cmd_parms *cmd, core_dir_config *d, char *arg) { @@ -2641,6 +2642,7 @@ } return NULL; } +#endif /* Note --- ErrorDocument will now work from .htaccess files. * The AllowOverride of Fileinfo allows webmasters to turn it off @@ -2858,8 +2860,10 @@ (void*)XtOffsetOf(core_dir_config, limit_req_body), OR_ALL, TAKE1, "Limit (in bytes) on maximum size of request message body" }, +#ifdef WIN32 { "Win32InterpreterSource", set_interpreter_source, NULL, OR_FILEINFO, TAKE1, "Where to find interpreter to run Win32 scripts (Registry or script shebang line)" }, +#endif { NULL }, };