X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d257b8db10b5f464d896ff0d4249237d8f587a1..1722a3f626f7b29b42a22fc6329ce12fb5e8ed90:/src/gtk/gsockgtk.cpp?ds=sidebyside diff --git a/src/gtk/gsockgtk.cpp b/src/gtk/gsockgtk.cpp index 5a142b08ca..c8f1d5c8f6 100644 --- a/src/gtk/gsockgtk.cpp +++ b/src/gtk/gsockgtk.cpp @@ -1,12 +1,13 @@ /* ------------------------------------------------------------------------- * Project: GSocket (Generic Socket) for WX - * Name: gsockgtk.c + * Name: src/gtk/gsockgtk.cpp * Purpose: GSocket: GTK part * Licence: The wxWindows licence * CVSID: $Id$ * ------------------------------------------------------------------------- */ -#include "wx/setup.h" +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" #if wxUSE_SOCKETS @@ -127,9 +128,4 @@ void GSocketGUIFunctionsTableConcrete::Disable_Events(GSocket *socket) Uninstall_Callback(socket, GSOCK_OUTPUT); } -#else /* !wxUSE_SOCKETS */ - -/* some compilers don't like having empty source files */ -static int wxDummyGsockVar = 0; - -#endif /* wxUSE_SOCKETS/!wxUSE_SOCKETS */ +#endif // wxUSE_SOCKETS