mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-08-12 20:46:01 -05:00
update switch lock support
This commit is contained in:
@@ -7451,7 +7451,7 @@ index 000000000..10a6a716d
|
||||
+#endif // __iosupp_h__
|
||||
+//---------------------------------------------------------------------------------
|
||||
diff --git a/newlib/libc/include/sys/lock.h b/newlib/libc/include/sys/lock.h
|
||||
index 42f9c4cd9..567fed56b 100644
|
||||
index 42f9c4cd9..a755d6443 100644
|
||||
--- a/newlib/libc/include/sys/lock.h
|
||||
+++ b/newlib/libc/include/sys/lock.h
|
||||
@@ -1,69 +1,66 @@
|
||||
@@ -7488,10 +7488,10 @@ index 42f9c4cd9..567fed56b 100644
|
||||
+extern int __libc_lock_try_acquire_recursive(_LOCK_RECURSIVE_T *lock);
|
||||
+
|
||||
+#define __LOCK_INIT(CLASS,NAME) \
|
||||
+CLASS _LOCK_T NAME = 1;
|
||||
+CLASS _LOCK_T NAME = 0;
|
||||
+
|
||||
+#define __LOCK_INIT_RECURSIVE(CLASS,NAME) \
|
||||
+CLASS _LOCK_RECURSIVE_T NAME = {1,0,0};
|
||||
+CLASS _LOCK_RECURSIVE_T NAME = {0,0,0};
|
||||
+
|
||||
+#define __lock_init(NAME) \
|
||||
+ __libc_lock_init(&(NAME))
|
||||
|
||||
@@ -62,7 +62,7 @@ then
|
||||
--prefix=$prefix \
|
||||
--enable-lto $plugin_ld\
|
||||
--with-system-zlib \
|
||||
--with-bugurl="https://github.com/devkitPro/buildscripts/issues" --with-pkgversion="devkitA64 alpha 5" \
|
||||
--with-bugurl="https://github.com/devkitPro/buildscripts/issues" --with-pkgversion="devkitA64 alpha 6" \
|
||||
$CROSS_PARAMS \
|
||||
|| { echo "Error configuring gcc"; exit 1; }
|
||||
touch configured-gcc
|
||||
|
||||
Reference in New Issue
Block a user