Copy libc compat files rather than adding into the repository

- remove the CP_LIBC files from repo
- move tests/memmem.c to tests/compat/
This commit is contained in:
kinichiro
2017-01-28 03:40:38 +09:00
parent cb57534af8
commit 58eb645fdb
6 changed files with 6 additions and 596 deletions

View File

@@ -156,7 +156,7 @@ if(NOT CMAKE_HOST_WIN32)
if(HAVE_MEMMEM)
add_executable(explicit_bzero explicit_bzero.c)
else()
add_executable(explicit_bzero explicit_bzero.c memmem.c)
add_executable(explicit_bzero explicit_bzero.c compat/memmem.c)
endif()
target_link_libraries(explicit_bzero ${TESTS_LIBS})
add_test(explicit_bzero explicit_bzero)