1 /* $OpenLDAP$ */
2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
3  *
4  * Copyright 1999-2021 The OpenLDAP Foundation.
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted only as authorized by the OpenLDAP
9  * Public License.
10  *
11  * A copy of this license is available in file LICENSE in the
12  * top-level directory of the distribution or, alternatively, at
13  * <http://www.OpenLDAP.org/license.html>.
14  */
15 
16 /* This file is probably obsolete.  If it is not,        */
17 /* #inclusion of it may have to be moved.  See ITS#2513. */
18 
19 /* This file is necessary because both PERL headers */
20 /* and OpenLDAP define a number of macros without   */
21 /* checking wether they're already defined */
22 
23 #ifndef ASPERL_UNDEFS_H
24 #define ASPERL_UNDEFS_H
25 
26 /* ActiveState Win32 PERL port support */
27 /* set in ldap/include/portable.h */
28 #  ifdef HAVE_WIN32_ASPERL
29 /* The following macros are undefined to prevent */
30 /* redefinition in PERL headers*/
31 #    undef gid_t
32 #    undef uid_t
33 #    undef mode_t
34 #    undef caddr_t
35 #    undef WIN32_LEAN_AND_MEAN
36 #  endif
37 #endif
38 
39