Merge pull request #26254 from ksooo/video-cleanup-contextmenus
[xbmc.git] / xbmc / platform / win32 / sys / socket.h
blobfec0169c872659c4f1af91c9c54654f63a1a5790
1 /*
2 * Copyright (C) 2011-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 #include <WS2tcpip.h>
12 #include <Winsock2.h>
13 #include <ws2bth.h>
15 #ifndef SHUT_RDWR
16 #define SHUT_RDWR SD_BOTH
17 #endif
19 #ifndef SHUT_RD
20 #define SHUT_RD SD_RECEIVE
21 #endif
23 #ifndef SHUT_WR
24 #define SHUT_WR SD_SEND
25 #endif
28 #ifndef AF_BTH
29 #define AF_BTH 32
30 #endif
32 #ifndef BTHPROTO_RFCOMM
33 #define BTHPROTO_RFCOMM 3
34 #endif
36 #ifndef AF_BLUETOOTH
37 #define AF_BLUETOOTH AF_BTH
38 #endif
40 #ifndef BTPROTO_RFCOMM
41 #define BTPROTO_RFCOMM BTHPROTO_RFCOMM
42 #endif
44 typedef int socklen_t;