summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-08-13 16:15:25 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-08-13 16:15:25 +0000
commit72aaf6313309039c851862ad50ee168cb9cdf42b (patch)
tree041155f16315a821decbb5d4a1b0e0ce2ecba628 /perl.h
parent0f15f207c55ce70f46ebbd3be6c3d54763665084 (diff)
downloadperl-72aaf6313309039c851862ad50ee168cb9cdf42b.tar.gz
Threading fixups for Digital UNIX.
p4raw-id: //depot/perl@45
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl.h b/perl.h
index 9507f8befd..6e29d3639a 100644
--- a/perl.h
+++ b/perl.h
@@ -861,9 +861,9 @@ typedef pthread_key_t perl_key;
#endif
-/* Digital UNIX defines CONTEXT when pthreads is in use */
-#ifdef CONTEXT
-# undef CONTEXT
+/* Digital UNIX defines a typedef CONTEXT when pthreads is in use */
+#if defined(__osf__)
+# define CONTEXT PERL_CONTEXT
#endif
typedef MEM_SIZE STRLEN;