From 4ec8cde2f95c12903c12a48277888bba4aaf582f Mon Sep 17 00:00:00 2001 From: dpage Date: Thu, 30 Jul 2009 17:06:25 +0000 Subject: [PATCH] Fix debugger name resolution on 64 bit Solaris. git-svn-id: svn://svn.pgadmin.org/trunk/pgadmin3@7995 a7884b65-44f6-0310-8a51-81a127f17b15 --- CHANGELOG | 1 + pgadmin/debugger/dbgPgConn.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 2890ee796..55cb3f681 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -36,6 +36,7 @@ Changes Date Dev Ver Change details ---------- --- ------ -------------- +2009-07-30 DP 1.10.1 Fix debugger name resolution on 64 bit Solaris. 2009-07-30 DP 1.10.1 Fix Slony cluster creation on Solaris. 2009-07-30 DP 1.10.1 Fix foreign key creation on Solaris. 2009-07-29 DP 1.10.1 Fix an SQL syntax error when viewing the dependencies of diff --git a/pgadmin/debugger/dbgPgConn.cpp b/pgadmin/debugger/dbgPgConn.cpp index d777e31fa..be5e00f38 100644 --- a/pgadmin/debugger/dbgPgConn.cpp +++ b/pgadmin/debugger/dbgPgConn.cpp @@ -22,6 +22,7 @@ #ifdef __WXMSW__ #include +typedef u_long in_addr_t; #else #include #include @@ -85,7 +86,7 @@ void dbgPgConn::Init( const wxString &server, const wxString &database, const wx // Figure out the hostname/IP address struct hostent *host; - unsigned long addr; + in_addr_t addr; wxString hostip, hostname; #ifdef __WXMSW__ -- 2.39.5