refactor(socket): delete socket

This commit is contained in:
2026-03-16 23:09:26 +01:00
parent d777b9be7f
commit f729463ab3
5 changed files with 4 additions and 179 deletions
+1 -7
View File
@@ -14,7 +14,6 @@ add_global_arguments('-D_POSIX_C_SOURCE=200112L', language: 'c')
lib_src = files(
'hashmap/myhashmap.c',
'queue/myqueue.c',
'socket/mysocket.c',
'set/myset.c',
'stack/mystack.c',
'string/mystring.c',
@@ -25,7 +24,6 @@ lib_src = files(
test_src = files(
'test/hashmap/hm1.c',
'test/queue/queue1.c',
'test/socket/socket1.c',
'test/set/set1.c',
'test/stack/stack1.c',
'test/string/str1.c',
@@ -35,11 +33,8 @@ test_src = files(
'test/vector/vec1.c',
)
# Windows Socket lib
winsock_dep = cc.find_library('ws2_32', required: false)
# Include directories
inc_dir = include_directories('string', 'queue', 'hashmap', 'vector', 'stack', 'socket', 'set')
inc_dir = include_directories('string', 'queue', 'hashmap', 'vector', 'stack', 'set')
if host_machine.system() == 'windows'
win_inc_dir = include_directories('c:/include/')
else
@@ -64,7 +59,6 @@ install_headers(
'vector/myvector.h',
'set/myset.h',
'stack/mystack.h',
'socket/mysocket.h',
],
subdir: 'myclib',
)