Add 32bit library support for 32Bit OS
This commit is contained in:
parent
20d1e814e7
commit
08db592f3d
1 changed files with 7 additions and 2 deletions
5
ltls.pbi
5
ltls.pbi
|
@ -46,7 +46,12 @@ Module ltls
|
||||||
#TLS_WANT_POLLIN = -2
|
#TLS_WANT_POLLIN = -2
|
||||||
#TLS_WANT_POLLOUT = -3
|
#TLS_WANT_POLLOUT = -3
|
||||||
|
|
||||||
|
CompilerIf #PB_Compiler_Processor = #PB_Processor_x64
|
||||||
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib64/libtls.so.20")
|
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")
|
||||||
|
|
Loading…
Reference in a new issue