1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-06 00:13:33 +00:00

1. Fixed compiler warnings

2. Updated thread cleanup/finalizer logic to rely on ctxd if necessary
This commit is contained in:
Bryan Roe
2020-04-20 17:01:53 -07:00
parent 0c6db0b2a6
commit 71d4b1edca
5 changed files with 48 additions and 8 deletions

View File

@@ -160,7 +160,7 @@ void ILibDispatchSemaphore_post(sem_t* s);
#endif
#include<stdint.h>
static inline void ignore_result(uint64_t result) { (void)result; }
static inline void ignore_result(uintptr_t result) { (void)result; }
#if defined(_DEBUG)
#define PRINTERROR() printf("ERROR in %s, line %d\r\n", __FILE__, __LINE__);