Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
1681421d
Commit
1681421d
authored
20 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Move SETSIZE hack to a header to avoid config.status munging
parent
f0bd9b3a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
acconfig.h
+1
-12
1 addition, 12 deletions
acconfig.h
include/ac/fdset.h
+33
-0
33 additions, 0 deletions
include/ac/fdset.h
include/portable.h.in
+1
-12
1 addition, 12 deletions
include/portable.h.in
with
35 additions
and
24 deletions
acconfig.h
+
1
−
12
View file @
1681421d
...
...
@@ -113,18 +113,7 @@
#define vsprintf ber_pvt_vsprintf
#endif
#ifdef OPENLDAP_FD_SETSIZE
/* assume installer desires to enlarge fd_set */
#ifdef HAVE_BITS_TYPES_H
#include
<bits/types.h>
#endif
#ifdef __FD_SETSIZE
#undef __FD_SETSIZE
#define __FD_SETSIZE OPENLDAP_FD_SETSIZE
#else
#define FD_SETSIZE OPENLDAP_FD_SETSIZE
#endif
#endif
#include
"ac/fdset.h"
#include
"ldap_cdefs.h"
#include
"ldap_features.h"
...
...
This diff is collapsed.
Click to expand it.
include/ac/fdset.h
0 → 100644
+
33
−
0
View file @
1681421d
/* redefine FD_SET */
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
* 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 in file LICENSE in the
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
#ifndef _AC_FDSET_H
#define _AC_FDSET_H
#ifdef OPENLDAP_FD_SETSIZE
/* assume installer desires to enlarge fd_set */
# ifdef HAVE_BITS_TYPES_H
# include <bits/types.h>
# endif
# ifdef __FD_SETSIZE
# undef __FD_SETSIZE
# define __FD_SETSIZE OPENLDAP_FD_SETSIZE
# else
# define FD_SETSIZE OPENLDAP_FD_SETSIZE
# endif
#endif
#endif
/* _AC_FDSET_H */
This diff is collapsed.
Click to expand it.
include/portable.h.in
+
1
−
12
View file @
1681421d
...
...
@@ -1070,18 +1070,7 @@
#define vsprintf ber_pvt_vsprintf
#endif
#ifdef OPENLDAP_FD_SETSIZE
/* assume installer desires to enlarge fd_set */
#ifdef HAVE_BITS_TYPES_H
#include <bits/types.h>
#endif
#ifdef __FD_SETSIZE
#undef __FD_SETSIZE
#define __FD_SETSIZE OPENLDAP_FD_SETSIZE
#else
#define FD_SETSIZE OPENLDAP_FD_SETSIZE
#endif
#endif
#include "ac/fdset.h"
#include "ldap_cdefs.h"
#include "ldap_features.h"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment