8 * From Apache mod_perl: test for Perl version.
11 #if defined(pTHX_) || (PERL_REVISION >= 5 && PERL_VERSION >= 6)
15 #define EVAL_BUF_SIZE 500
17 extern ldap_pvt_thread_mutex_t perl_interpreter_mutex;
20 /* We should be using the PL_errgv, I think */
21 /* All the old style variables are prefixed with PL_ now */
22 # define errgv PL_errgv
26 #ifdef HAVE_WIN32_ASPERL
27 /* pTHX is needed often now */
28 # define PERL_INTERPRETER my_perl
29 # define PERL_BACK_XS_INIT_PARAMS pTHX
30 # define PERL_BACK_BOOT_DYNALOADER_PARAMS pTHX, CV *cv
32 # define PERL_INTERPRETER perl_interpreter
33 # define PERL_BACK_XS_INIT_PARAMS void
34 # define PERL_BACK_BOOT_DYNALOADER_PARAMS CV *cv
37 extern PerlInterpreter *PERL_INTERPRETER;
40 typedef struct perl_backend_instance {
43 int pb_filter_search_results;