mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Issue #1751 -- Remove XP_DARWIN
This commit is contained in:
parent
a9c8f3a84a
commit
2f27335cc4
36 changed files with 30 additions and 1254 deletions
|
|
@ -8,7 +8,7 @@
|
|||
#ifdef XP_WIN
|
||||
# include "jswin.h"
|
||||
|
||||
#elif defined(XP_DARWIN) || defined(DARWIN) || defined(XP_UNIX)
|
||||
#elif defined(XP_UNIX)
|
||||
# include <pthread.h>
|
||||
|
||||
# if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
||||
|
|
@ -132,10 +132,6 @@ void*
|
|||
js::GetNativeStackBaseImpl()
|
||||
{
|
||||
pthread_t thread = pthread_self();
|
||||
# if defined(XP_DARWIN) || defined(DARWIN)
|
||||
return pthread_get_stackaddr_np(thread);
|
||||
|
||||
# else
|
||||
pthread_attr_t sattr;
|
||||
pthread_attr_init(&sattr);
|
||||
# if defined(__OpenBSD__)
|
||||
|
|
@ -210,7 +206,6 @@ js::GetNativeStackBaseImpl()
|
|||
# else
|
||||
return static_cast<char*>(stackBase) + stackSize;
|
||||
# endif
|
||||
# endif
|
||||
}
|
||||
|
||||
#endif /* !XP_WIN */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue