From 5fb9aa5673776ee3cc208814d3810972f171c9a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 26 Jul 2005 15:38:55 +0000 Subject: [PATCH] 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 --- src/unix/gsocket.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 */ -- 2.50.0