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

index 703b19ed69aaaadbd9cf0e1b5d8d6073c42d207b..6ae116be8f541e8bb6864be829b4cb83dcdaeb6a 100644 (file)
@@ -64,7 +64,6 @@
 #ifdef OPENSSL_SYS_VMS
 #pragma message disable DOLLARID
 #include <lib$routines.h>
-#include <libfisdef.h>
 #include <stsdef.h>
 #include <descrip.h>
 #include <starlet.h>
@@ -280,7 +279,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;