libfisdef.h and LIB do not exist on older VMS versions
authorRichard Levitte <levitte@openssl.org>
Tue, 3 Apr 2001 08:31:45 +0000 (08:31 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 3 Apr 2001 08:31:45 +0000 (08:31 +0000)
crypto/dso/dso_vms.c

index 8ff7090129ceab311e244cea023e7b8a5325d839..ab48b63eb76eca5007957f638c018ac80cc1fb3a 100644 (file)
@@ -62,7 +62,6 @@
 #ifdef VMS
 #pragma message disable DOLLARID
 #include <lib$routines.h>
-#include <libfisdef.h>
 #include <stsdef.h>
 #include <descrip.h>
 #include <starlet.h>
@@ -260,7 +259,8 @@ void vms_bind_sym(DSO *dso, const char *symname, void **sym)
        {
        DSO_VMS_INTERNAL *ptr;
        int status;
-       int flags = LIB$M_FIS_MIXEDCASE;
+       int flags = (1<<4); /* LIB$M_FIS_MIXEDCASE, but this symbol isn't
+                               defined in VMS older than 7.0 or so */
        struct dsc$descriptor_s symname_dsc;
        *sym = NULL;