Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
KWSys
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Rolf Eike Beer
KWSys
Commits
0897602c
Commit
0897602c
authored
21 years ago
by
Brad King
Browse files
Options
Downloads
Patches
Plain Diff
ERR: Added forward declarations of system functions for como compiler.
parent
0bc254a4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SystemTools.cxx
+12
-0
12 additions, 0 deletions
SystemTools.cxx
with
12 additions
and
0 deletions
SystemTools.cxx
+
12
−
0
View file @
0897602c
...
...
@@ -77,6 +77,18 @@ inline int Chdir(const char* dir)
}
#endif
#if !defined(_WIN32) && defined(__COMO__)
// Hack for como strict mode to avoid defining _SVID_SOURCE or _BSD_SOURCE.
extern
"C"
{
extern
FILE
*
popen
(
__const
char
*
__command
,
__const
char
*
__modes
)
__THROW
;
extern
int
pclose
(
FILE
*
__stream
)
__THROW
;
extern
char
*
realpath
(
__const
char
*
__restrict
__name
,
char
*
__restrict
__resolved
)
__THROW
;
extern
char
*
strdup
(
__const
char
*
__s
)
__THROW
;
extern
int
putenv
(
char
*
__string
)
__THROW
;
}
#endif
/* Implement floattime() for various platforms */
// Taken from Python 2.1.3
...
...
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