summaryrefslogtreecommitdiff
path: root/cop.h
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2020-07-06 16:30:53 +0100
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2021-10-08 19:21:33 +0100
commit2eb109a4d326f05244e37f956ca8cd8b0db22b19 (patch)
treea8298fe2c529c6d6438fd75c144d91b18823824d /cop.h
parent07a6208729c01c230010594c3e08a946ab0ccbef (diff)
downloadperl-2eb109a4d326f05244e37f956ca8cd8b0db22b19.tar.gz
Remove NetWare support
The build has been broken since 2009.
Diffstat (limited to 'cop.h')
-rw-r--r--cop.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/cop.h b/cop.h
index f7885887eb..d20631e473 100644
--- a/cop.h
+++ b/cop.h
@@ -524,13 +524,8 @@ string C<p>, creating the package if necessary.
# define CopFILEGV(c) (CopFILE(c) \
? gv_fetchfile(CopFILE(c)) : NULL)
-# ifdef NETWARE
-# define CopFILE_set(c,pv) ((c)->cop_file = savepv(pv))
-# define CopFILE_setn(c,pv,l) ((c)->cop_file = savepvn((pv),(l)))
-# else
-# define CopFILE_set(c,pv) ((c)->cop_file = savesharedpv(pv))
-# define CopFILE_setn(c,pv,l) ((c)->cop_file = savesharedpvn((pv),(l)))
-# endif
+# define CopFILE_set(c,pv) ((c)->cop_file = savesharedpv(pv))
+# define CopFILE_setn(c,pv,l) ((c)->cop_file = savesharedpvn((pv),(l)))
# define CopFILESV(c) (CopFILE(c) \
? GvSV(gv_fetchfile(CopFILE(c))) : NULL)
@@ -543,11 +538,7 @@ string C<p>, creating the package if necessary.
# define CopSTASH_set(c,hv) ((c)->cop_stashoff = (hv) \
? alloccopstash(hv) \
: 0)
-# ifdef NETWARE
-# define CopFILE_free(c) SAVECOPFILE_FREE(c)
-# else
-# define CopFILE_free(c) (PerlMemShared_free(CopFILE(c)),(CopFILE(c) = NULL))
-# endif
+# define CopFILE_free(c) (PerlMemShared_free(CopFILE(c)),(CopFILE(c) = NULL))
#else /* Above: no threads; Below yes threads */
# define CopFILEGV(c) ((c)->cop_filegv)
# define CopFILEGV_set(c,gv) ((c)->cop_filegv = (GV*)SvREFCNT_inc(gv))