summaryrefslogtreecommitdiff
path: root/vms/genconfig.pl
diff options
context:
space:
mode:
Diffstat (limited to 'vms/genconfig.pl')
-rw-r--r--vms/genconfig.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/vms/genconfig.pl b/vms/genconfig.pl
index d2e514b1c9..e92316a3a5 100644
--- a/vms/genconfig.pl
+++ b/vms/genconfig.pl
@@ -156,6 +156,10 @@ foreach (@ARGV) {
print OUT "d_select=",$dosock ? "'define'\n" : "'undef'\n";
print OUT "i_niin=",$dosock ? "'define'\n" : "'undef'\n";
print OUT "i_neterrno=",$dosock ? "'define'\n" : "'undef'\n";
+ if ($dosock and $cctype eq 'decc' and $ccflags =~ /DECCRTL_SOCKETS/) {
+ print OUT "selecttype=fd_set\n";
+ }
+ else { print OUT "selecttype=int\n"; }
if ($cctype eq 'decc') { $rtlhas = 'define'; }
else { $rtlhas = 'undef'; }