From: Włodzimierz Skiba Date: Tue, 26 Jul 2005 15:38:55 +0000 (+0000) Subject: Better 'missing WXUNUSED' workaround (perhaps unnecessary if nomore standalone option... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5fb9aa5673776ee3cc208814d3810972f171c9a1?ds=sidebyside Better 'missing WXUNUSED' workaround (perhaps unnecessary if nomore standalone option possible). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/unix/gsocket.cpp b/src/unix/gsocket.cpp index 100beaa553..3ab997e9b7 100644 --- a/src/unix/gsocket.cpp +++ b/src/unix/gsocket.cpp @@ -26,10 +26,6 @@ #include "wx/setup.h" #endif -#ifndef WXUNUSED -#define WXUNUSED(x) -#endif - #if defined(__VISAGECPP__) /* Seems to be needed by Visual Age C++, though I don't see how it manages to not break on including a C++ header into a plain C source file */ @@ -195,6 +191,9 @@ int _System soclose(int); #else # include "gsockunx.h" # include "gsocket.h" +# ifndef WXUNUSED +# define WXUNUSED(x) +# endif #endif /* __GSOCKET_STANDALONE__ */ /* debugging helpers */