X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9e3e3abaf8fb32ad82c6882b9af684e0430f881..284b4c8866ab36694b6ec2a308690bba4db4fed2:/include/wx/gsocket.h diff --git a/include/wx/gsocket.h b/include/wx/gsocket.h index ecc65f37f6..e5a9070209 100644 --- a/include/wx/gsocket.h +++ b/include/wx/gsocket.h @@ -8,15 +8,17 @@ #ifndef __GSOCKET_H #define __GSOCKET_H +#ifndef __GSOCKET_STANDALONE__ #include "wx/setup.h" +#endif -#if wxUSE_SOCKETS +#if wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) #include #include #if !defined(__cplusplus) -typedef int bool; +typedef unsigned int bool; #endif #ifndef TRUE @@ -247,6 +249,6 @@ GSocketError GAddress_UNIX_GetPath(GAddress *address, char *path, size_t sbuf); #endif /* __cplusplus */ -#endif /* wxUSE_SOCKETS */ +#endif /* wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) */ #endif /* __GSOCKET_H */