summaryrefslogtreecommitdiff
path: root/win32/perlhost.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-03-24 01:08:33 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-03-24 01:08:33 +0000
commitb2af26b13be5ac143d7c7e58ef2458b8b3103485 (patch)
tree708be0a38074ec2b410629956a8f04ed5b58c2a9 /win32/perlhost.h
parent8fe0a5c4e04be608dcf92965347231ca4e6d5db7 (diff)
downloadperl-b2af26b13be5ac143d7c7e58ef2458b8b3103485.tar.gz
support POSIX::uname() via win32_uname()
p4raw-id: //depot/perl@3134
Diffstat (limited to 'win32/perlhost.h')
-rw-r--r--win32/perlhost.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/perlhost.h b/win32/perlhost.h
index e514bf1342..cc5b5e5cd4 100644
--- a/win32/perlhost.h
+++ b/win32/perlhost.h
@@ -98,6 +98,10 @@ public:
{
return g_win32_get_sitelib(pl);
};
+ virtual int Uname(struct utsname *name, int &err)
+ {
+ return win32_uname(name);
+ };
};
class CPerlSock : public IPerlSock