update libcurl and glfw (#1336)
* update libcurl * update glfw * fix libcurl * upload patchpull/1338/head
parent
8a967fb691
commit
aeeb439d68
4 changed files with 18 additions and 1 deletions
@ -0,0 +1,13 @@ |
|||||||
|
diff --git a/lib/easy_lock.h b/lib/easy_lock.h
|
||||||
|
--- a/lib/easy_lock.h
|
||||||
|
+++ b/lib/easy_lock.h
|
||||||
|
@@ -36,6 +36,9 @@
|
||||||
|
|
||||||
|
#elif defined (HAVE_ATOMIC)
|
||||||
|
#include <stdatomic.h>
|
||||||
|
+#if defined(HAVE_SCHED_YIELD)
|
||||||
|
+#include <sched.h>
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
#define curl_simple_lock atomic_bool
|
||||||
|
#define CURL_SIMPLE_LOCK_INIT false
|
Loading…
Reference in new issue