Blind portability fix

This commit is contained in:
Kurt Zeilenga 2004-04-27 07:23:04 +00:00
parent 9644d6d820
commit 510eb8dff2
11 changed files with 11 additions and 142 deletions

View file

@ -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

View file

@ -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"

View file

@ -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"
/**********************************************************

View file

@ -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"
/**********************************************************
*

View file

@ -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"

View file

@ -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

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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"
/**********************************************************