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