[winpr,comm] enable comm for iOS
The functions are supported in the SDK so compile it in
This commit is contained in:
parent
d9f551b7ca
commit
617b4d966a
@ -23,7 +23,7 @@ if (NOT WIN32)
|
||||
comm.c
|
||||
comm.h
|
||||
)
|
||||
if(UNIX AND NOT IOS AND NOT EMSCRIPTEN)
|
||||
if(NOT EMSCRIPTEN)
|
||||
winpr_definition_add(-DWINPR_HAVE_SERIAL_SUPPORT)
|
||||
list(APPEND ${MODULE_PREFIX}_SRCS
|
||||
comm_io.c
|
||||
@ -45,7 +45,7 @@ if (NOT WIN32)
|
||||
|
||||
winpr_module_add(${${MODULE_PREFIX}_SRCS})
|
||||
|
||||
if(UNIX AND NOT IOS AND NOT EMSCRIPTEN)
|
||||
if(NOT EMSCRIPTEN)
|
||||
if(BUILD_TESTING_INTERNAL AND BUILD_COMM_TESTS)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user