Re: Named-capture regex syntax
[p5sagit/p5-mst-13.2.git] / perlvars.h
index c8706f5..94792fe 100644 (file)
@@ -55,7 +55,11 @@ PERLVAR(Gdollarzero_mutex, perl_mutex)       /* Modifying $0 */
 #endif
 
 /* This is constant on most architectures, a global on OS/2 */
+#ifdef OS2
+PERLVARI(Gsh_path,           char *,   SH_PATH)/* full path of shell */
+#else
 PERLVARI(Gsh_path,     const char *,   SH_PATH)/* full path of shell */
+#endif
 
 #ifndef PERL_MICRO
 /* If Perl has to ignore SIGPFE, this is its saved state.
@@ -139,6 +143,6 @@ PERLVARI(Gmy_cxt_index, int, 0)
 PERLVAR(Ghints_mutex, perl_mutex)    /* Mutex for refcounted he refcounting */
 #endif
 
-#if defined(USE_THREADS)       /* Yes, 5.005 threads - should be removed. */
+#if defined(USE_ITHREADS)
 PERLVAR(Gperlio_mutex, perl_mutex)    /* Mutex for perlio fd refcounts */
 #endif