*** apache_base:[src.include]ap_config.h;1 Mon Aug 23 11:38:20 1999 --- apache_cur:[src.include]ap_config.h;19 Mon Aug 23 17:05:41 1999 *************** *** 115,121 **** #include "os.h" #endif ! #if !defined(QNX) && !defined(MPE) && !defined(WIN32) && !defined(TPF) #include #endif --- 115,122 ---- #include "os.h" #endif ! #if !defined(QNX) && !defined(MPE) && !defined(WIN32) && !defined(TPF) &&\ ! !defined(VMS) #include #endif *************** *** 131,136 **** --- 132,187 ---- char *crypt (const char *pw, const char *salt); int gethostname (char *name, int namelen); + #elif defined(VMS) + #define USE_HSREGEX + #define USE_VMSDLM_SERIALIZED_ACCEPT + #define HAVE_GMTOFF 1 + #define HAVE_MMAP 1 + + #if defined __DECC + /* 1999-05-27 lt. + * The dl*() functions appear in the DEC C RTL for OpenVMS 7.2. + * I'm not sure yet if the Apache dynamic load works when they are present, + * I know, at least, that it does not work when they are absent. ;-) + * Defining NO_DLOPEN allows one to build and run on OpenVMS 7.1. + */ + # if __CRTL_VER <= 70200000 + # define NO_DLOPEN 1 + # endif + #endif + + #if defined __DECC + # if __CRTL_VER <= 70000000 + # define NO_GETTIMEOFDAY 1 + # else + + /* OpenVMS >= 7.1 has gettimeofday() but _not_ "struct timezone". + * mod_usertrack.c needs the definition of struct timezone, but does + * not use the results, so define the structure here. + */ + + struct timezone { + int unused1; + int unused2; + }; + # endif /* VMS >= 7.1 */ + #endif /* __DECC */ + + #undef NO_TIMES + #define NO_KILLPG 1 + #define NO_SETSID 1 + #define NO_SHMGET 1 + #define NO_SLACK 1 + #define NO_WRITEV 1 + #define NO_LONG_DOUBLE 1 + #define NO_DBM_REWRITEMAP 1 + #define USE_MMAP_SCOREBOARD + #define SINGLE_LISTEN_UNSERIALIZED_ACCEPT 1 + #define NEED_INITGROUPS 1 + #define NET_SIZE_T unsigned int + #define fork vfork + char *crypt (const char *pw, const char *salt); + #elif defined(MPE) #include #define NO_SETSID *************** *** 1208,1214 **** #define ap_check_signals() #endif ! #ifdef ULTRIX_BRAIN_DEATH #define ap_fdopen(d,m) fdopen((d), (char *)(m)) #else #define ap_fdopen(d,m) fdopen((d), (m)) --- 1259,1265 ---- #define ap_check_signals() #endif ! #if defined(ULTRIX_BRAIN_DEATH) || defined(VMS) #define ap_fdopen(d,m) fdopen((d), (char *)(m)) #else #define ap_fdopen(d,m) fdopen((d), (m))