More SNtp debug 10

This commit is contained in:
Sergey Lyubka 2022-05-27 22:26:17 +01:00
parent 6b50039863
commit f5af28c886
3 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ jobs:
- name: Install packages - name: Install packages
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install jq mbedtls openssl run: HOMEBREW_NO_AUTO_UPDATE=1 brew install jq mbedtls openssl
- name: make - name: make
run: make test++ upload-coverage IPV6=0 ASAN_OPTIONS= TFLAGS=-DMG_ENABLE_POLL=1 run: make test++ upload-coverage IPV6=0 ASAN_OPTIONS=
- name: openssl - name: openssl
run: make test SSL=OPENSSL IPV6=0 ASAN_OPTIONS= OPENSSL=`echo /usr/local/Cellar/openssl*/*` run: make test SSL=OPENSSL IPV6=0 ASAN_OPTIONS= OPENSSL=`echo /usr/local/Cellar/openssl*/*`
- name: exports - name: exports

View File

@ -418,7 +418,7 @@ extern int SockSet(SOCKET hSock, int Type, int Prop, void *pbuf, int size);
#define _DARWIN_UNLIMITED_SELECT 1 // No limit on file descriptors #define _DARWIN_UNLIMITED_SELECT 1 // No limit on file descriptors
#if !defined(MG_ENABLE_POLL) && defined(__linux__) #if !defined(MG_ENABLE_POLL) && (defined(__linux__) || defined(__APPLE__))
#define MG_ENABLE_POLL 1 #define MG_ENABLE_POLL 1
#endif #endif

View File

@ -4,7 +4,7 @@
#define _DARWIN_UNLIMITED_SELECT 1 // No limit on file descriptors #define _DARWIN_UNLIMITED_SELECT 1 // No limit on file descriptors
#if !defined(MG_ENABLE_POLL) && defined(__linux__) #if !defined(MG_ENABLE_POLL) && (defined(__linux__) || defined(__APPLE__))
#define MG_ENABLE_POLL 1 #define MG_ENABLE_POLL 1
#endif #endif