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
74ee13e5
Commit
74ee13e5
authored
27 years ago
by
sof
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1997-05-27 06:02:07 by sof]
Added mods for irix-6.x
parent
de414c82
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/includes/stgdefs.h
+9
-6
9 additions, 6 deletions
ghc/includes/stgdefs.h
with
9 additions
and
6 deletions
ghc/includes/stgdefs.h
+
9
−
6
View file @
74ee13e5
...
...
@@ -50,13 +50,16 @@ void _stgAssert PROTO((char *, unsigned int));
#undef _POSIX_C_SOURCE
#else
#define _POSIX_SOURCE 1
#ifndef irix_TARGET_OS
#define _POSIX_C_SOURCE 199301L
/* Alphas set _POSIX_VERSION (unistd.h) */
/* ditto _POSIX2_C_VERSION
_POSIX2_VERSION
_POSIX_4SOURCE
*/
#else
/* defines contributed by Tomasz Cholewo <tjchol01@mecca.spd.louisville.edu>
( this is with gcc-2.7.2 for irix-6.{2.3} ) .. hopefully they will not
upset anything under irix5 ..
*/
#define _POSIX_C_SOURCE 199309L
#define __EXTENSIONS__
#endif
/* 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> )
...
...
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