gcc 2.8.0/solaris compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -342,7 +342,7 @@ bool wxGetHostName(char *buf, int sz)
|
|||||||
|
|
||||||
// we're using uname() which is POSIX instead of less standard sysinfo()
|
// we're using uname() which is POSIX instead of less standard sysinfo()
|
||||||
#if defined(HAVE_UNAME)
|
#if defined(HAVE_UNAME)
|
||||||
utsname uts;
|
struct utsname uts;
|
||||||
bool ok = uname(&uts) != -1;
|
bool ok = uname(&uts) != -1;
|
||||||
if ( ok )
|
if ( ok )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user