compilation fixes for solaris
PLEASE READ COMPILATION LOGS AFTER MAKING CHANGES! git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -59,6 +59,12 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
|
|
||||||
|
#ifdef __SUN__
|
||||||
|
extern "C" {
|
||||||
|
int gethostname(char *name, int namelen);
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // __UNIX__
|
#endif // __UNIX__
|
||||||
|
|
||||||
#include "wx/sckaddr.h"
|
#include "wx/sckaddr.h"
|
||||||
@@ -77,8 +83,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxUNIXaddress, wxSockAddress)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
wxIPV4address::wxIPV4address()
|
wxIPV4address::wxIPV4address()
|
||||||
{
|
|
||||||
m_addr = new sockaddr_in;
|
m_addr = new sockaddr_in;
|
||||||
|
{
|
||||||
Clear();
|
Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -35,6 +35,8 @@
|
|||||||
#include "gtk/gtk.h"
|
#include "gtk/gtk.h"
|
||||||
#include "wx/gtk/win_gtk.h"
|
#include "wx/gtk/win_gtk.h"
|
||||||
|
|
||||||
|
#include <unistd.h> // usleep() on solaris
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// global data
|
// global data
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
@@ -35,6 +35,8 @@
|
|||||||
#include "gtk/gtk.h"
|
#include "gtk/gtk.h"
|
||||||
#include "wx/gtk/win_gtk.h"
|
#include "wx/gtk/win_gtk.h"
|
||||||
|
|
||||||
|
#include <unistd.h> // usleep() on solaris
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// global data
|
// global data
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
@@ -38,6 +38,10 @@
|
|||||||
|
|
||||||
#include <itrace.h>
|
#include <itrace.h>
|
||||||
|
|
||||||
|
#ifndef NULL
|
||||||
|
#define NULL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
static RETCODE
|
static RETCODE
|
||||||
_iodbcdm_cata_state_ok (
|
_iodbcdm_cata_state_ok (
|
||||||
HSTMT hstmt,
|
HSTMT hstmt,
|
||||||
|
Reference in New Issue
Block a user