This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge the implementations of pp_s{host,net,proto,serv}ent.
[perl5.git]
/
NetWare
/
nw5thread.c
diff --git
a/NetWare/nw5thread.c
b/NetWare/nw5thread.c
index
e99512a
..
9ff2c32
100644
(file)
--- a/
NetWare/nw5thread.c
+++ b/
NetWare/nw5thread.c
@@
-20,12
+20,6
@@
#include "EXTERN.h"
#include "perl.h"
#include "EXTERN.h"
#include "perl.h"
-#if defined(PERL_OBJECT)
-#define NO_XSLOCKS
-extern CPerlObj* pPerl;
-#include "XSUB.h"
-#endif
-
//For Thread Local Storage
#include "win32ish.h" // For "BOOL", "TRUE" and "FALSE"
#include "nwtinfo.h"
//For Thread Local Storage
#include "win32ish.h" // For "BOOL", "TRUE" and "FALSE"
#include "nwtinfo.h"
@@
-38,7
+32,7
@@
__declspec(thread) void *PL_current_context = NULL;
void
Perl_set_context(void *t)
{
void
Perl_set_context(void *t)
{
-#if defined(USE_
5005THREADS) || defined(USE_
ITHREADS)
+#if defined(USE_ITHREADS)
# ifdef USE_DECLSPEC_THREAD
Perl_current_context = t;
# else
# ifdef USE_DECLSPEC_THREAD
Perl_current_context = t;
# else
@@
-51,7
+45,7
@@
Perl_set_context(void *t)
void *
Perl_get_context(void)
{
void *
Perl_get_context(void)
{
-#if defined(USE_
5005THREADS) || defined(USE_
ITHREADS)
+#if defined(USE_ITHREADS)
# ifdef USE_DECLSPEC_THREAD
return Perl_current_context;
# else
# ifdef USE_DECLSPEC_THREAD
return Perl_current_context;
# else
@@
-67,7
+61,7
@@
Perl_get_context(void)
BOOL
Remove_Thread_Ctx(void)
{
BOOL
Remove_Thread_Ctx(void)
{
-#if defined(USE_
5005THREADS) || defined(USE_
ITHREADS)
+#if defined(USE_ITHREADS)
# ifdef USE_DECLSPEC_THREAD
return TRUE;
# else
# ifdef USE_DECLSPEC_THREAD
return TRUE;
# else