aboutsummaryrefslogtreecommitdiff
path: root/win32port
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2014-03-29 08:25:58 +0100
committerPatrick Gansterer <paroga@paroga.com>2014-03-29 08:25:58 +0100
commit73882e49fc8c0ae3fe071df805228f3246c8bd76 (patch)
treee2ce65dcf046d984a06aa60a5b26a0e10df278c2 /win32port
parent462c981e9c7cc2ac4e6929d0dd3e16b50a28c11f (diff)
downloadlibwebsockets-73882e49fc8c0ae3fe071df805228f3246c8bd76.tar.gz
Remove websock-w32.h
Diffstat (limited to 'win32port')
-rw-r--r--win32port/win32helpers/websock-w32.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/win32port/win32helpers/websock-w32.h b/win32port/win32helpers/websock-w32.h
deleted file mode 100644
index 9e304563..00000000
--- a/win32port/win32helpers/websock-w32.h
+++ /dev/null
@@ -1,56 +0,0 @@
-#ifndef __WEB_SOCK_W32_H__
-#define __WEB_SOCK_W32_H__
-
-// Windows uses _DEBUG and NDEBUG
-#ifdef _DEBUG
-#undef DEBUG
-#define DEBUG 1
-#endif
-
-#pragma warning(disable : 4996)
-
-#define MSG_NOSIGNAL 0
-#define SHUT_RDWR SD_BOTH
-
-#define SOL_TCP IPPROTO_TCP
-
-#ifdef __MINGW64__
-#define DEF_POLL_STUFF
-#endif
-#ifdef __MINGW32__
-#define DEF_POLL_STUFF
-#endif
-
-#if _WIN32_WINNT < 0x0600
-#define DEF_POLL_STUFF
-#endif
-
-#ifdef DEF_POLL_STUFF
-
-#include <winsock2.h>
-
-typedef struct pollfd {
- SOCKET fd;
- short events;
- short revents;
-} WSAPOLLFD, *PWSAPOLLFD, *LPWSAPOLLFD;
-
-#define POLLIN 0x0001 /* any readable data available */
-#define POLLOUT 0x0004 /* file descriptor is writeable */
-#define POLLERR 0x0008 /* some poll error occurred */
-#define POLLHUP 0x0010 /* file descriptor was "hung up" */
-#define POLLNVAL 0x0020 /* requested events "invalid" */
-
-#endif
-
-/* override configure because we are not using Makefiles */
-
-#define LWS_NO_FORK
-
-/* windows can't cope with this idea, needs assets in cwd */
-
-#ifndef INSTALL_DATADIR
-#define INSTALL_DATADIR "."
-#endif
-
-#endif