X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9e3e3abaf8fb32ad82c6882b9af684e0430f881..be2577e4e650993fe49f18955972e5360840dad2:/include/wx/gsocket.h?ds=sidebyside 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 */