Back to index

openldap  2.4.31
asperl_undefs.h
Go to the documentation of this file.
00001 /* $OpenLDAP$ */
00002 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
00003  *
00004  * Copyright 1999-2012 The OpenLDAP Foundation.
00005  * All rights reserved.
00006  *
00007  * Redistribution and use in source and binary forms, with or without
00008  * modification, are permitted only as authorized by the OpenLDAP
00009  * Public License.
00010  *
00011  * A copy of this license is available in file LICENSE in the
00012  * top-level directory of the distribution or, alternatively, at
00013  * <http://www.OpenLDAP.org/license.html>.
00014  */
00015 
00016 /* This file is probably obsolete.  If it is not,        */
00017 /* #inclusion of it may have to be moved.  See ITS#2513. */
00018 
00019 /* This file is necessary because both PERL headers */
00020 /* and OpenLDAP define a number of macros without   */
00021 /* checking wether they're already defined */
00022 
00023 #ifndef ASPERL_UNDEFS_H
00024 #define ASPERL_UNDEFS_H
00025 
00026 /* ActiveState Win32 PERL port support */
00027 /* set in ldap/include/portable.h */
00028 #  ifdef HAVE_WIN32_ASPERL
00029 /* The following macros are undefined to prevent */
00030 /* redefinition in PERL headers*/
00031 #    undef gid_t
00032 #    undef uid_t
00033 #    undef mode_t
00034 #    undef caddr_t
00035 #    undef WIN32_LEAN_AND_MEAN
00036 #  endif
00037 #endif
00038