summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-09 18:51:50 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-09 18:51:50 +0000
commitaaacdc8b9b7d69c04e33245ec8de73f4e74bbd69 (patch)
tree6551b80b23a99bc898b8666bdfcb9897d248587f /perl.h
parent76384e4ae84ed55d949d353b24577f0a3f3a082a (diff)
downloadperl-aaacdc8b9b7d69c04e33245ec8de73f4e74bbd69.tar.gz
Configure changes for new-style version numbers (from Andy Dougherty,
slightly altered) p4raw-id: //depot/perl@4771
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 98c6265fd0..be2bf4fbc8 100644
--- a/perl.h
+++ b/perl.h
@@ -23,6 +23,17 @@
#define VOIDUSED 1
#include "config.h"
+#if defined(USE_ITHREADS) && defined(USE_5005THREADS)
+# include "error: USE_ITHREADS and USE_5005THREADS are incompatible"
+#endif
+
+/* XXX This next guard can disappear if the sources are revised
+ to use USE_5005THREADS throughout. -- A.D 1/6/2000
+*/
+#if defined(USE_ITHREADS) && defined(USE_THREADS)
+# include "error: USE_ITHREADS and USE_THREADS are incompatible"
+#endif
+
/* See L<perlguts/"The Perl API"> for detailed notes on
* PERL_IMPLICIT_CONTEXT and PERL_IMPLICIT_SYS */