X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=acconfig.h;h=ab65e5b726512ee6b826ff22daf55ba4697068bf;hb=e53977cef73d88b819329166b277283eb8ad2d72;hp=8137f1096a0102cda8b3bcf8f312d73e2c846f79;hpb=14d8a58076b660436a35040a2e188b4270ba3c97;p=openldap diff --git a/acconfig.h b/acconfig.h index 8137f1096a..ab65e5b726 100644 --- a/acconfig.h +++ b/acconfig.h @@ -1,12 +1,15 @@ -/* - * Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA +/* This work is part of OpenLDAP Software . + * + * Copyright 1998-2004 The OpenLDAP Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted only as authorized by the OpenLDAP - * Public License. A copy of this license is available at - * http://www.OpenLDAP.org/license.html or in file LICENSE in the - * top-level directory of the distribution. + * Public License. + * + * A copy of this license is available in the file LICENSE in the + * top-level directory of the distribution or, alternatively, at + * . */ #ifndef _LDAP_PORTABLE_H @@ -84,10 +87,6 @@ #define LDAP_NEEDS_PROTOTYPES 1 #endif -#ifdef HAVE_STDDEF_H -# include -#endif - #ifndef LDAP_REL_ENG #if (LDAP_VENDOR_VERSION == 000000) && !defined(LDAP_DEVEL) #define LDAP_DEVEL @@ -95,9 +94,10 @@ #if defined(LDAP_DEVEL) && !defined(LDAP_TEST) #define LDAP_TEST #endif -#if defined(LDAP_TEST) && !defined(LDAP_DEBUG) -#define LDAP_DEBUG #endif + +#ifdef HAVE_STDDEF_H +# include #endif #ifdef HAVE_EBCDIC @@ -113,6 +113,19 @@ #define vsprintf ber_pvt_vsprintf #endif +#ifdef OPENLDAP_FD_SETSIZE + /* assume installer desires to enlarge fd_set */ +#ifdef HAVE_BITS_TYPES_H +#include +#endif +#ifdef __FD_SETSIZE +#undef __FD_SETSIZE +#define __FD_SETSIZE OPENLDAP_FD_SETSIZE +#else +#define FD_SETSIZE OPENLDAP_FD_SETSIZE +#endif +#endif + #include "ldap_cdefs.h" #include "ldap_features.h"