Tuning test

This commit is contained in:
cpq 2020-12-07 05:18:07 +00:00
parent 0ce49b5c71
commit 136a37ef73
2 changed files with 4 additions and 2 deletions

View File

@ -17,7 +17,7 @@ matrix:
script: make mg_prefix
- os: linux
compiler: clang
script: cat /usr/include/mbedtls/version.h ; grep -r mbedtls_net_send /usr/include/mbedtls/
script: cat /usr/include/mbedtls/net.h ; grep -r mbedtls_net_send /usr/include/mbedtls/
- os: linux
compiler: msvc98
script: make vc98 vc2017

View File

@ -2924,8 +2924,10 @@ void mg_timer_poll(unsigned long now_ms) {
#include <mbedtls/debug.h>
#include <mbedtls/ssl.h>
#include <mbedtls/version.h>
#if MBEDTLS_VERSION_MINOR > 22
#if MBEDTLS_VERSION_NUMBER > 0x02070000
#include <mbedtls/net_sockets.h>
#else
#include <mbedtls/net.h>
#endif
struct mg_tls {