X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33ac7e6f01acbac1cff0ad400d8ea7f0bfd0a62f..2d956b58023a4955313a1c1531bc70a0deb0b831:/src/msw/gsocket.c diff --git a/src/msw/gsocket.c b/src/msw/gsocket.c index a6e021bc68..7fb9f308d2 100644 --- a/src/msw/gsocket.c +++ b/src/msw/gsocket.c @@ -60,7 +60,6 @@ #include - /* if we use configure for MSW SOCKLEN_T will be already defined */ #ifndef SOCKLEN_T # define SOCKLEN_T int @@ -1378,6 +1377,6 @@ GSocketError GAddress_UNIX_GetPath(GAddress *address, char *path, size_t sbuf) * Translation unit shouldn't be empty, so include this typedef to make the * compiler (VC++ 6.0, for example) happy */ -typedef (*wxDummy)(); +typedef void (*wxDummy)(); #endif /* wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) */