Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
5ca5bed0
Commit
5ca5bed0
authored
Jul 11, 2017
by
Bill Welliver
Browse files
Options
Downloads
Patches
Plain Diff
build: removed unused enum that evaluates to empty on NetBSD.
parent
a7d63907
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/fd_control.h
+0
-25
0 additions, 25 deletions
src/fd_control.h
with
0 additions
and
25 deletions
src/fd_control.h
+
0
−
25
View file @
5ca5bed0
...
...
@@ -11,31 +11,6 @@
#ifdef HAVE_SYS_SOCKET_H
#include
<sys/socket.h>
#endif
/* NB: The default values are compatible with Linux,
* but should work on other OSs as well, since
* accept4(2) is emulated by us anyway.
*/
enum
pike_sock_flags
{
#ifndef SOCK_CLOEXEC
#if !defined(SOCK_NONBLOCK) || (SOCK_NONBLOCK != 0x80000)
SOCK_CLOEXEC
=
0x80000
,
#else
/* Unlikely, but... */
SOCK_CLOEXEC
=
0x40000
,
#endif
/* !SOCK_NONBLOCK || SOCK_NONBLOCK != 0x80000 */
#define SOCK_CLOEXEC SOCK_CLOEXEC
#endif
#ifndef SOCK_NONBLOCK
#if (SOCK_CLOEXEC != 0x00800)
SOCK_NONBLOCK
=
0x00800
,
#else
/* Unlikely, but... */
SOCK_NONBLOCK
=
0x00400
,
#endif
#define SOCK_NONBLOCK SOCK_NONBLOCK
#endif
};
#endif
/* !HAVE_ACCEPT4 */
/* Prototypes begin here */
...
...
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