mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-14 10:53:22 -05:00
Blind portability fix
This commit is contained in:
parent
9644d6d820
commit
510eb8dff2
11 changed files with 11 additions and 142 deletions
|
|
@ -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"
|
||||
|
||||
/**********************************************************
|
||||
|
|
|
|||
Loading…
Reference in a new issue