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

cgen: produce cleaner error on missing C headers (with optional explanation) (#6637)

Implements support for `#include <openssl/rand.h> # Please install OpenSSL`.
This commit is contained in:
Delyan Angelov
2020-10-17 18:27:06 +03:00
committed by GitHub
parent aad122334b
commit 3c2202572b
13 changed files with 119 additions and 52 deletions

View File

@ -15,7 +15,7 @@ module openssl
// Brew
#flag darwin -I/usr/local/opt/openssl/include
#flag darwin -L/usr/local/opt/openssl/lib
#include <openssl/rand.h>
#include <openssl/rand.h> # Please install OpenSSL
#include <openssl/ssl.h>
#include <openssl/err.h>