#endif
#if defined(USE_ITHREADS)
-PERLVAR(Iregex_pad, SV**) /* All regex objects */
-PERLVAR(Iregex_padav, AV*) /* All regex objects */
+PERLVAR(Iregex_pad, SV**) /* All regex objects */
+PERLVAR(Iregex_padav, AV*) /* All regex objects */
-PERLVAR(Ireentrant_buffer, REBUF*) /* were we store _r buffers */
+#ifdef USE_REENTRANT_API
+PERLVAR(Ireentrant_buffer, REBUF*) /* here we store the _r buffers */
#endif
+#endif
+
+PERLVAR(Isavebegin, bool) /* save BEGINs for compiler */
+
/* New variables must be added to the very end for binary compatibility.
* XSUB.h provides wrapper functions via perlapi.h that make this
* irrelevant, but not all code may be expected to #include XSUB.h. */
-
-
-