summaryrefslogtreecommitdiffstats
path: root/sal
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-03-07 13:17:53 +0100
committerDavid Tardon <dtardon@redhat.com>2012-03-07 14:01:32 +0100
commit5e259549cb15540df38bf885d271edbfe1d85ac4 (patch)
tree8c0e175fbbce9d74f5d9bb43d24a92632dcfbd89 /sal
parentWaE: format '%u' expects argument of type 'unsigned int' (diff)
downloadcore-5e259549cb15540df38bf885d271edbfe1d85ac4.tar.gz
core-5e259549cb15540df38bf885d271edbfe1d85ac4.zip
WaE: redefined macro
SD_RECEIVE, SD_SEND and SD_BOTH have been defined in mingw-w64 headers since the very beginning. I suppose this was only relevant for mingw32, which we do not support anymore.
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/socket.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sal/osl/w32/socket.cxx b/sal/osl/w32/socket.cxx
index 40533513015d..fa6c34f5a8c5 100644
--- a/sal/osl/w32/socket.cxx
+++ b/sal/osl/w32/socket.cxx
@@ -37,13 +37,6 @@
extern "C" {
-/* defines for shutdown */
-#ifdef GCC
-# define SD_RECEIVE 0
-# define SD_SEND 1
-# define SD_BOTH 2
-#endif
-
/*
oslSocketAddr is a pointer to a Berkeley struct sockaddr.
I refrained from using sockaddr_in because of possible further