X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c9eff305505d6e3a63026c542004d518d997d2a..445365141a2b028acbd779aa352bf664d930cfb5:/include/wx/unix/gsockunx.h diff --git a/include/wx/unix/gsockunx.h b/include/wx/unix/gsockunx.h index e44fef0eb3..dc0e170716 100644 --- a/include/wx/unix/gsockunx.h +++ b/include/wx/unix/gsockunx.h @@ -26,10 +26,6 @@ extern "C" { #endif /* __cplusplus */ -#if !defined(__cplusplus) -typedef int bool; -#endif - #ifndef TRUE #define TRUE 1 #endif @@ -47,11 +43,11 @@ struct _GSocket GAddress *m_peer; GSocketError m_error; - bool m_non_blocking; - bool m_server; - bool m_stream; - bool m_oriented; - bool m_establishing; + int m_non_blocking; + int m_server; + int m_stream; + int m_oriented; + int m_establishing; unsigned long m_timeout; /* Callbacks */ @@ -85,7 +81,7 @@ int _GSocket_Send_Dgram(GSocket *socket, const char *buffer, int size); /* Callbacks */ -bool _GSocket_GUI_Init(GSocket *socket); +int _GSocket_GUI_Init(GSocket *socket); void _GSocket_GUI_Destroy(GSocket *socket); void _GSocket_Enable_Events(GSocket *socket);