Added following platform specific code under the under the condition that they will considered based on the current platform
i.e
1. async_win - will be used when compiling for Windows platform
2. async_posix - will be used for the unix platform
@@ -103,8 +103,6 @@ list(APPEND XSRC
${CRYPTO}/async/async_err.c
${CRYPTO}/async/async_wait.c
${CRYPTO}/async/arch/async_null.c
- ${CRYPTO}/async/arch/async_posix.c
- ${CRYPTO}/async/arch/async_win.c
${CRYPTO}/bio/b_dump.c
${CRYPTO}/bio/b_print.c
@@ -475,10 +473,12 @@ list(APPEND XSRC
if(WIN32)
list(APPEND XSRC
+ ${CRYPTO}/async/arch/async_win.c
${CRYPTO}/rand/rand_win.c
)
else()
list(APPEND XSRC
+ ${CRYPTO}/async/arch/async_posix.c
${CRYPTO}/rand/rand_unix.c
)
endif()
