aboutsummaryrefslogtreecommitdiff
path: root/libc/src/windows/gnu.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/windows/gnu.rs')
-rw-r--r--libc/src/windows/gnu.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/src/windows/gnu.rs b/libc/src/windows/gnu.rs
new file mode 100644
index 0000000..a67af15
--- /dev/null
+++ b/libc/src/windows/gnu.rs
@@ -0,0 +1,8 @@
+pub const L_tmpnam: ::c_uint = 14;
+pub const TMP_MAX: ::c_uint = 0x7fff;
+
+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,
+ n: ::size_t) -> ::c_int;
+}