Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
unix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rinat Striungis
unix
Commits
8a40424a
Commit
8a40424a
authored
9 years ago
by
Herbert Valerio Riedel
Browse files
Options
Downloads
Patches
Plain Diff
Minor tweaks to HsUnix.h
parent
b495e1d8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/HsUnix.h
+3
-2
3 additions, 2 deletions
include/HsUnix.h
with
3 additions
and
2 deletions
include/HsUnix.h
+
3
−
2
View file @
8a40424a
...
@@ -89,9 +89,10 @@
...
@@ -89,9 +89,10 @@
#include
<signal.h>
#include
<signal.h>
#endif
#endif
/*
in
Signals.c */
/*
defined in rts/posix/
Signals.c */
extern
HsInt
nocldstop
;
extern
HsInt
nocldstop
;
/* defined in libc */
extern
char
**
environ
;
extern
char
**
environ
;
#ifdef HAVE_RTLDNEXT
#ifdef HAVE_RTLDNEXT
...
@@ -105,7 +106,7 @@ void *__hsunix_rtldDefault (void);
...
@@ -105,7 +106,7 @@ void *__hsunix_rtldDefault (void);
/* O_SYNC doesn't exist on Mac OS X and (at least some versions of) FreeBSD,
/* O_SYNC doesn't exist on Mac OS X and (at least some versions of) FreeBSD,
fall back to O_FSYNC, which should be the same */
fall back to O_FSYNC, which should be the same */
#ifndef O_SYNC
#ifndef O_SYNC
#define O_SYNC O_FSYNC
#
define O_SYNC O_FSYNC
#endif
#endif
// not part of POSIX, hence may not be always defined
// not part of POSIX, hence may not be always defined
...
...
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