Skip to content

Commit

Permalink
1. remove flex dependenties of ws2_32.dll
Browse files Browse the repository at this point in the history
2. remove duplicate file (and absent legacy data)
  • Loading branch information
yjh-styx committed Dec 10, 2021
1 parent 960f82d commit 2a7586a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 495 deletions.
2 changes: 1 addition & 1 deletion flex/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ target_compile_definitions(${PROJECT_NAME}

target_include_directories(${PROJECT_NAME} PRIVATE "src")

target_link_libraries(${PROJECT_NAME} winflexbison_common kernel32.lib user32.lib Ws2_32.lib)
target_link_libraries(${PROJECT_NAME} winflexbison_common kernel32.lib user32.lib)

# libfl
add_library(fl STATIC
Expand Down
3 changes: 0 additions & 3 deletions flex/src/filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ static const char * check_4_gnu_m4 =
/** global chain. */
struct filter *output_chain = NULL;

static const char letters[] =
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";

#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
Expand Down

0 comments on commit 2a7586a

Please sign in to comment.