openldap/servers/slapd/back-perl/asperl_undefs.h

29 lines
765 B
C
Raw Normal View History

/*
* Copyright 1999-2003 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
/* This file is probably obsolete. If it is not, */
/* #inclusion of it may have to be moved. See ITS#2513. */
2002-04-16 12:25:44 +08:00
/* This file is necessary because both PERL headers */
/* and OpenLDAP define a number of macros without */
/* checking wether they're already defined */
#ifndef ASPERL_UNDEFS_H
#define ASPERL_UNDEFS_H
/* ActiveState Win32 PERL port support */
/* set in ldap/include/portable.h */
# ifdef HAVE_WIN32_ASPERL
/* The following macros are undefined to prevent */
/* redefinition in PERL headers*/
# undef gid_t
# undef uid_t
# undef mode_t
# undef caddr_t
# undef WIN32_LEAN_AND_MEAN
# endif
#endif