Skip to content

Commit 7470c73

Browse files
faraotgross35
authored andcommitted
Redisable constants for L4Re
These constants were disabled for uclibc (and therefore implicitly disabled for L4Re). Now that they are not disabled for uclibc anymore, explicitly disable them for L4Re.
1 parent 60b56d1 commit 7470c73

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/unix/linux_like/linux_l4re_shared.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,7 @@ pub const EM_M32R: u16 = 88;
795795
pub const EM_MN10300: u16 = 89;
796796
pub const EM_MN10200: u16 = 90;
797797
pub const EM_PJ: u16 = 91;
798+
#[cfg(not(target_os = "l4re"))]
798799
pub const EM_OPENRISC: u16 = 92;
799800
#[cfg(target_env = "uclibc")]
800801
pub const EM_OR1K: u16 = 92;
@@ -875,6 +876,7 @@ pub const AT_EXECFN: c_ulong = 31;
875876
// defined in arch/<arch>/include/uapi/asm/auxvec.h but has the same value
876877
// wherever it is defined.
877878
pub const AT_SYSINFO_EHDR: c_ulong = 33;
879+
#[cfg(not(target_os = "l4re"))]
878880
pub const AT_MINSIGSTKSZ: c_ulong = 51;
879881

880882
pub const GLOB_ERR: c_int = 1 << 0;

0 commit comments

Comments
 (0)