1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

Revert "all: C++ compiler support"

This reverts commit 9a237c3e82.
This commit is contained in:
Alexander Medvednikov
2020-05-18 17:05:48 +02:00
parent fc900baf9e
commit 07a78b2843
32 changed files with 151 additions and 269 deletions

View File

@ -18,8 +18,8 @@ import strings
#flag darwin -I/usr/local/opt/openssl/include
#flag darwin -L/usr/local/opt/openssl/lib
#include <openssl/ssl.h>
struct C.ssl_st
struct C.SSL {
}
fn C.SSL_library_init()
@ -108,7 +108,7 @@ fn (req &Request) ssl_do(port int, method, host_name, path string) ?Response {
res = C.BIO_set_conn_hostname(web, addr.str)
if res != 1 {
}
ssl := &C.ssl_st(0)
ssl := &C.SSL(0)
C.BIO_get_ssl(web, &ssl)
if isnil(ssl) {
}