Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
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
Model registry
Operate
Terraform modules
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
Gesh
GHC
Commits
4ebe7839
Commit
4ebe7839
authored
27 years ago
by
sof
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1997-05-18 04:28:42 by sof]
2.03 update to get around gcc-2.7.1 header silly
parent
7c948a00
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/includes/stgdefs.h
+11
-0
11 additions, 0 deletions
ghc/includes/stgdefs.h
with
11 additions
and
0 deletions
ghc/includes/stgdefs.h
+
11
−
0
View file @
4ebe7839
...
...
@@ -56,6 +56,17 @@ void _stgAssert PROTO((char *, unsigned int));
_POSIX2_VERSION
_POSIX_4SOURCE
*/
/* Bogus use of non-existent variable POSIX_C_SOURCE in the supplied header files
for gcc-2.7.1 on Solaris forces us to define it: (this strikes when using st_atime
and friends in <sys/stat.h> )
*/
#if (__GNUC__ == 2) && (__GNUC_MINOR__ == 7)
/* sigh, not possible to get at bugfix release number (fixed in 2.7.2) */
#define POSIX_C_SOURCE _POSIX_C_SOURCE
#endif
#include
<unistd.h>
#include
<signal.h>
#endif
...
...
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