summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorxiangxistu <[email protected]>2022-05-31 11:50:17 +0800
committerGitHub <[email protected]>2022-05-31 11:50:17 +0800
commit2f9f39764d81102b4b227308a622888152179c24 (patch)
tree2d5370ad615a98b6c03cf4fad1599eca1c0c5998 /components
parentc52c1c5521e95b103686f8b78640168e3b2d4c4b (diff)
[add] winsock implement on windows simulator. (#6010)
* [add] winsock implement on windows simulator.
Diffstat (limited to 'components')
-rw-r--r--components/net/sal/Kconfig4
-rw-r--r--components/net/sal/SConscript3
-rw-r--r--components/net/sal/impl/af_inet_winsock.c12
3 files changed, 0 insertions, 19 deletions
diff --git a/components/net/sal/Kconfig b/components/net/sal/Kconfig
index 6e7e44f98f..e5395a6631 100644
--- a/components/net/sal/Kconfig
+++ b/components/net/sal/Kconfig
@@ -21,10 +21,6 @@ if RT_USING_SAL
bool "Docking with AT commands stack"
default n
- config SAL_USING_WINSOCK
- bool "Docking with Windows socket (winsock)"
- default n
-
config SAL_USING_TLS
bool "Docking with MbedTLS protocol"
default n
diff --git a/components/net/sal/SConscript b/components/net/sal/SConscript
index 9611af1d2b..437b6ce2e0 100644
--- a/components/net/sal/SConscript
+++ b/components/net/sal/SConscript
@@ -19,9 +19,6 @@ if GetDepend('SAL_USING_LWIP'):
if GetDepend('SAL_USING_AT'):
src += ['impl/af_inet_at.c']
-if GetDepend('SAL_USING_WINSOCK'):
- src += ['impl/af_inet_winsock.c']
-
if GetDepend('SAL_USING_TLS'):
src += ['impl/proto_mbedtls.c']
diff --git a/components/net/sal/impl/af_inet_winsock.c b/components/net/sal/impl/af_inet_winsock.c
deleted file mode 100644
index f3f103d0ca..0000000000
--- a/components/net/sal/impl/af_inet_winsock.c
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Change Logs:
- * Date Author Notes
- */
-
-#include <winsock.h>
-
-/* Do NOT include sys/time.h in this file */