avoid exporting a sleep() symbol from libcrypto
Since it seems only MSVC lacks sleep(), and it's only used by apps, lets special-case that and make it available as a static inline function instead.
This commit is contained in:
@@ -808,7 +808,6 @@ if(WIN32)
|
||||
set(EXTRA_EXPORT ${EXTRA_EXPORT} posix_write)
|
||||
set(EXTRA_EXPORT ${EXTRA_EXPORT} posix_getsockopt)
|
||||
set(EXTRA_EXPORT ${EXTRA_EXPORT} posix_setsockopt)
|
||||
set(EXTRA_EXPORT ${EXTRA_EXPORT} sleep)
|
||||
endif()
|
||||
|
||||
if(NOT HAVE_ASPRINTF)
|
||||
|
Reference in New Issue
Block a user