Add 32bit library support for 32Bit OS

This commit is contained in:
René Linder 2020-12-01 08:42:49 +01:00
parent 20d1e814e7
commit 08db592f3d

View file

@ -45,8 +45,13 @@ Module ltls
#TLS_WANT_POLLIN = -2 #TLS_WANT_POLLIN = -2
#TLS_WANT_POLLOUT = -3 #TLS_WANT_POLLOUT = -3
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib64/libtls.so.20") CompilerIf #PB_Compiler_Processor = #PB_Processor_x64
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib64/libtls.so.20")
CompilerElse
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib/libtls.so.20")
CompilerEndIf
If IsLibrary(libressl_tls) If IsLibrary(libressl_tls)
Define Call_tls_init = GetFunction(libressl_tls, "tls_init") Define Call_tls_init = GetFunction(libressl_tls, "tls_init")