Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
4f0cdd21
Unverified
Commit
4f0cdd21
authored
May 18, 2023
by
alanminko
Committed by
GitHub
May 18, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #217 from hzeller/20230427-avoid-double-define
Don't #define _DEFAULT_SOURCE if already defined.
parents
80c1c016
dfd8fabd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
src/map/mapper/mapperLib.c
+2
-0
src/map/mio/mio.c
+2
-0
No files found.
src/map/mapper/mapperLib.c
View file @
4f0cdd21
...
...
@@ -18,7 +18,9 @@
//#define _BSD_SOURCE
#ifndef WIN32
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif
#include <unistd.h>
#endif
...
...
src/map/mio/mio.c
View file @
4f0cdd21
...
...
@@ -19,7 +19,9 @@
//#define _BSD_SOURCE
#ifndef WIN32
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif
#include <unistd.h>
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment