X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c40158e40b45fd22c7a166ce1743345fb4d4a4d3..efdf6afeb2bb6b79d01287acfd3334c04ea2b49d:/src/unix/gsocket.cpp 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 */