00001 /* Licensed to the Apache Software Foundation (ASF) under one or more 00002 * contributor license agreements. See the NOTICE file distributed with 00003 * this work for additional information regarding copyright ownership. 00004 * The ASF licenses this file to You under the Apache License, Version 2.0 00005 * (the "License"); you may not use this file except in compliance with 00006 * the License. You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 00028 #ifndef APACHE_OS_H 00029 #define APACHE_OS_H 00030 00031 #ifndef PLATFORM 00032 #define PLATFORM "NETWARE" 00033 #endif 00034 00035 #include <screen.h> 00036 00037 AP_DECLARE_DATA extern int hold_screen_on_exit; /* Indicates whether the screen should be held open on exit*/ 00038 00039 #define CASE_BLIND_FILESYSTEM 00040 #define NO_WRITEV 00041 00042 #define APACHE_MPM_DIR "server/mpm/netware" /* generated on unix */ 00043 00044 #define getpid NXThreadGetId 00045 00046 /* Hold the screen open if there is an exit code and the hold_screen_on_exit flag >= 0 or the 00047 hold_screen_on_exit > 0. If the hold_screen_on_exit flag is < 0 then close the screen no 00048 matter what the exit code is. */ 00049 #define exit(s) {if((s||hold_screen_on_exit)&&(hold_screen_on_exit>=0)){pressanykey();}apr_terminate();exit(s);} 00050 00051 #endif /* ! APACHE_OS_H */ 00052