Skip to content
Snippets Groups Projects
Commit 7ba5e347 authored by Dan Gohman's avatar Dan Gohman
Browse files

Remove the definition of ULONG_SIZE which is no longer needed.

parent 4d0e84b8
No related branches found
No related tags found
No related merge requests found
...@@ -312,17 +312,6 @@ pub struct dirent { ...@@ -312,17 +312,6 @@ pub struct dirent {
pub d_name: [c_char; 0], pub d_name: [c_char; 0],
} }
// intentionally not public, only used for fd_set
cfg_if! {
if #[cfg(target_pointer_width = "32")] {
const ULONG_SIZE: usize = 32;
} else if #[cfg(target_pointer_width = "64")] {
const ULONG_SIZE: usize = 64;
} else {
// Unknown target_pointer_width
}
}
pub const EXIT_SUCCESS: c_int = 0; pub const EXIT_SUCCESS: c_int = 0;
pub const EXIT_FAILURE: c_int = 1; pub const EXIT_FAILURE: c_int = 1;
pub const STDIN_FILENO: c_int = 0; pub const STDIN_FILENO: c_int = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment