Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / bsd / openldap / dist / servers / slapd / back-perl / asperl_undefs.h
blobedd61ca8635c5daa639ceaabe4bd2f62a1f5e57b
1 /* $OpenLDAP: pkg/ldap/servers/slapd/back-perl/asperl_undefs.h,v 1.7.2.3 2008/02/11 23:26:47 kurt Exp $ */
2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 * Copyright 1999-2008 The OpenLDAP Foundation.
5 * All rights reserved.
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.
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>.
16 /* This file is probably obsolete. If it is not, */
17 /* #inclusion of it may have to be moved. See ITS#2513. */
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 */
23 #ifndef ASPERL_UNDEFS_H
24 #define ASPERL_UNDEFS_H
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