Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gcc-cobol
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
COBOLworx
gcc-cobol
Commits
91607eba
Commit
91607eba
authored
2 years ago
by
Ian Lance Taylor
Browse files
Options
Downloads
Patches
Plain Diff
runtime: force XSI strerror on hurd
Reviewed-on:
https://go-review.googlesource.com/c/gofrontend/+/454275
parent
b2aa75de
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gcc/go/gofrontend/MERGE
+1
-1
1 addition, 1 deletion
gcc/go/gofrontend/MERGE
libgo/runtime/go-strerror.c
+2
-2
2 additions, 2 deletions
libgo/runtime/go-strerror.c
with
3 additions
and
3 deletions
gcc/go/gofrontend/MERGE
+
1
−
1
View file @
91607eba
fef6aa3c1678cdbe7dca454b2cebb369d8ba81bf
1c5bfd57131b68b91d8400bb017f35d416f7aa7b
The first line of this file holds the git revision number of the last
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
merge done from the gofrontend repository.
This diff is collapsed.
Click to expand it.
libgo/runtime/go-strerror.c
+
2
−
2
View file @
91607eba
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
exists to selectively undefine it and provides an alias to the
exists to selectively undefine it and provides an alias to the
XSI-compliant version of strerror_r(3). */
XSI-compliant version of strerror_r(3). */
#ifdef
__linux__
#if
def
ined(
__linux__
) || defined(__gnu_hurd__)
/* Force selection of XSI-compliant strerror_r by glibc. */
/* Force selection of XSI-compliant strerror_r by glibc. */
#undef XOPEN_SOURCE
#undef XOPEN_SOURCE
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#define _POSIX_C_SOURCE 200112L
#define _POSIX_C_SOURCE 200112L
#undef _GNU_SOURCE
#undef _GNU_SOURCE
#endif
/* __linux__ */
#endif
/*
defined(
__linux__
) || defined(__gnu_hurd__)
*/
#include
<string.h>
#include
<string.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