Change Win32 to use EXPORT_VAR_AS_FN.
[openssl.git] / util / mkdef.pl
index deb02a903603ecddf51934057e055e070ae3b31e..2c003c4b23a3d5bbb4754c860b817adfbaaad976 100755 (executable)
@@ -994,7 +994,7 @@ sub is_valid
                        # EXPORT_VAR_AS_FUNCTION means that global variables
                        # will be represented as functions.  This currently
                        # only happens on VMS-VAX.
-                       if ($keyword eq "EXPORT_VAR_AS_FUNCTION" && $VMSVAX) {
+                       if ($keyword eq "EXPORT_VAR_AS_FUNCTION" && ($VMSVAX || $W32)) {
                                return 1;
                        }
                        return 0;