X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d391a3451080638e6b1f2f24f92078d18c5ab9d8..7f82eb0018bfe00f882645e2d9de2ff2694f9d8c:/src/motif/gsockmot.c diff --git a/src/motif/gsockmot.c b/src/motif/gsockmot.c index 797c3cff7b..0898bd4512 100644 --- a/src/motif/gsockmot.c +++ b/src/motif/gsockmot.c @@ -117,4 +117,9 @@ void _GSocket_Disable_Events(GSocket *socket) _GSocket_Uninstall_Callback(socket, GSOCK_OUTPUT); } -#endif /* wxUSE_SOCKETS */ +#else /* !wxUSE_SOCKETS */ + +/* some compilers don't like having empty source files */ +static int wxDummyGsockVar = 0; + +#endif /* wxUSE_SOCKETS/!wxUSE_SOCKETS */