Skip to content
Snippets Groups Projects
Commit 510eb8df authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Blind portability fix

parent 9644d6d8
No related branches found
No related tags found
No related merge requests found
......@@ -15,20 +15,6 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include <EXTERN.h>
#include <perl.h>
#undef _ /* #defined by both Perl and ac/localize.h */
#ifdef HAVE_WIN32_ASPERL
#include "asperl_undefs.h"
#endif
#include "portable.h"
#include <stdio.h>
#include "slap.h"
#include "perl_back.h"
int
......
......@@ -15,20 +15,6 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include <EXTERN.h>
#include <perl.h>
#undef _ /* #defined by both Perl and ac/localize.h */
#ifdef HAVE_WIN32_ASPERL
#include "asperl_undefs.h"
#endif
#include "portable.h"
#include <stdio.h>
#include "slap.h"
#include "perl_back.h"
......
......@@ -15,20 +15,6 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include <EXTERN.h>
#include <perl.h>
#undef _ /* #defined by both Perl and ac/localize.h */
#ifdef HAVE_WIN32_ASPERL
#include "asperl_undefs.h"
#endif
#include "portable.h"
#include <stdio.h>
#include "slap.h"
#include "perl_back.h"
/**********************************************************
......
......@@ -15,22 +15,8 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include <EXTERN.h>
#include <perl.h>
#undef _ /* #defined by both Perl and ac/localize.h */
#ifdef HAVE_WIN32_ASPERL
#include "asperl_undefs.h"
#endif
#include "portable.h"
#include <stdio.h>
#include "slap.h"
#include "lutil.h"
#include "perl_back.h"
#include "lutil.h"
/**********************************************************
*
......
......@@ -15,20 +15,6 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include <EXTERN.h>
#include <perl.h>
#undef _ /* #defined by both Perl and ac/localize.h */
#ifdef HAVE_WIN32_ASPERL
#include "asperl_undefs.h"
#endif
#include "portable.h"
#include <stdio.h>
#include "slap.h"
#include "perl_back.h"
......
......@@ -15,20 +15,6 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include <EXTERN.h>
#include <perl.h>
#undef _ /* #defined by both Perl and ac/localize.h */
#ifdef HAVE_WIN32_ASPERL
#include "asperl_undefs.h"
#endif
#include "portable.h"
#include <stdio.h>
#include "slap.h"
#include "perl_back.h"
int
......
......@@ -15,20 +15,6 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include <EXTERN.h>
#include <perl.h>
#undef _ /* #defined by both Perl and ac/localize.h */
#ifdef HAVE_WIN32_ASPERL
#include "asperl_undefs.h"
#endif
#include "portable.h"
#include <stdio.h>
#include "slap.h"
#include "perl_back.h"
......
......@@ -15,20 +15,6 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include <EXTERN.h>
#include <perl.h>
#undef _ /* #defined by both Perl and ac/localize.h */
#ifdef HAVE_WIN32_ASPERL
#include "asperl_undefs.h"
#endif
#include "portable.h"
#include <stdio.h>
#include "slap.h"
#include "perl_back.h"
int
......
......@@ -15,20 +15,6 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include <EXTERN.h>
#include <perl.h>
#undef _ /* #defined by both Perl and ac/localize.h */
#ifdef HAVE_WIN32_ASPERL
#include "asperl_undefs.h"
#endif
#include "portable.h"
#include <stdio.h>
#include "slap.h"
#include "perl_back.h"
int
......
......@@ -18,6 +18,15 @@
#ifndef PERL_BACK_H
#define PERL_BACK_H 1
#include <EXTERN.h>
#include <perl.h>
#undef _ /* #defined by both Perl and ac/localize.h */
#include "asperl_undefs.h"
#include "portable.h"
#include "slap.h"
LDAP_BEGIN_DECL
/*
......@@ -39,7 +48,7 @@ extern ldap_pvt_thread_mutex_t perl_interpreter_mutex;
# define na PL_na
#endif
#ifdef HAVE_WIN32_ASPERL
#if defined( HAVE_WIN32_ASPERL ) || defined( USE_ITHREADS )
/* pTHX is needed often now */
# define PERL_INTERPRETER my_perl
# define PERL_BACK_XS_INIT_PARAMS pTHX
......
......@@ -15,20 +15,6 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include <EXTERN.h>
#include <perl.h>
#undef _ /* #defined by both Perl and ac/localize.h */
#ifdef HAVE_WIN32_ASPERL
#include "asperl_undefs.h"
#endif
#include "portable.h"
#include <stdio.h>
#include "slap.h"
#include "perl_back.h"
/**********************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment