]> git.saurik.com Git - wxWidgets.git/commitdiff
Better 'missing WXUNUSED' workaround (perhaps unnecessary if nomore standalone option...
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 26 Jul 2005 15:38:55 +0000 (15:38 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 26 Jul 2005 15:38:55 +0000 (15:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/gsocket.cpp

index 100beaa553a4f200770a3f5e94ff6fabf913c42b..3ab997e9b79f6f0a2b605f1fa26edb5451260731 100644 (file)
 #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 */