Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libc
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
Issue analytics
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
felixmoebius
libc
Commits
f1b396f3
Commit
f1b396f3
authored
6 years ago
by
Mackenzie Clark
Browse files
Options
Downloads
Patches
Plain Diff
constants are for gnu target only
parent
3ce82dd3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/windows/gnu.rs
+5
-0
5 additions, 0 deletions
src/windows/gnu.rs
src/windows/mod.rs
+0
-5
0 additions, 5 deletions
src/windows/mod.rs
with
5 additions
and
5 deletions
src/windows/gnu.rs
+
5
−
0
View file @
f1b396f3
pub
const
L_tmpnam
:
::
c_uint
=
14
;
pub
const
TMP_MAX
:
::
c_uint
=
0x7fff
;
// stdio file descriptor numbers
pub
const
STDIN_FILENO
:
::
c_int
=
0
;
pub
const
STDOUT_FILENO
:
::
c_int
=
1
;
pub
const
STDERR_FILENO
:
::
c_int
=
2
;
extern
{
pub
fn
strcasecmp
(
s1
:
*
const
::
c_char
,
s2
:
*
const
::
c_char
)
->
::
c_int
;
pub
fn
strncasecmp
(
s1
:
*
const
::
c_char
,
s2
:
*
const
::
c_char
,
...
...
This diff is collapsed.
Click to expand it.
src/windows/mod.rs
+
0
−
5
View file @
f1b396f3
...
...
@@ -188,11 +188,6 @@ pub const SIGABRT: ::c_int = 22;
pub
const
NSIG
:
::
c_int
=
23
;
pub
const
SIG_ERR
:
::
c_int
=
-
1
;
// stdio file descriptor numbers
pub
const
STDIN_FILENO
:
::
c_int
=
0
;
pub
const
STDOUT_FILENO
:
::
c_int
=
1
;
pub
const
STDERR_FILENO
:
::
c_int
=
2
;
// inline comment below appeases style checker
#[cfg(all(target_env
=
"msvc"
,
feature
=
"rustc-dep-of-std"
))]
// " if "
#[link(name
=
"msvcrt"
,
cfg(not(target_feature
=
"crt-static"
)))]
...
...
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