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
dfd8fabd
Commit
dfd8fabd
authored
Apr 27, 2023
by
Henner Zeller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't #define _DEFAULT_SOURCE if already defined.
parent
cc6834d4
Show 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 @
dfd8fabd
...
@@ -18,7 +18,9 @@
...
@@ -18,7 +18,9 @@
//#define _BSD_SOURCE
//#define _BSD_SOURCE
#ifndef WIN32
#ifndef WIN32
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif
#include <unistd.h>
#include <unistd.h>
#endif
#endif
...
...
src/map/mio/mio.c
View file @
dfd8fabd
...
@@ -19,7 +19,9 @@
...
@@ -19,7 +19,9 @@
//#define _BSD_SOURCE
//#define _BSD_SOURCE
#ifndef WIN32
#ifndef WIN32
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif
#include <unistd.h>
#include <unistd.h>
#endif
#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