This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #41484] qr// stack bug
[perl5.git] / fakethr.h
index 8b1e76f..8f0def4 100644 (file)
--- a/fakethr.h
+++ b/fakethr.h
@@ -1,3 +1,12 @@
+/*    fakethr.h
+ *
+ *    Copyright (C) 1999, by Larry Wall and others
+ *
+ *    You may distribute under the terms of either the GNU General Public
+ *    License or the Artistic License, as specified in the README file.
+ *
+ */
+
 typedef int perl_mutex;
 typedef int perl_key;
 
@@ -34,7 +43,7 @@ struct thread_intern {
  * something a bit different for XS code.
  */
 
-#define SCHEDULE() return schedule(), op
+#define SCHEDULE() return schedule(), PL_op
 
 #define MUTEX_LOCK(m)
 #define MUTEX_UNLOCK(m)