bsd-user: OS-agnostic 64-bit SYSCTL types
commite6a3ee5f7981e7df40aa581ebc245fd0a7d3bed0
authorEd Maste <emaste@freebsd.org>
Tue, 30 Apr 2013 13:29:32 +0000 (30 09:29 -0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 12 May 2013 09:25:55 +0000 (12 13:25 +0400)
tree4827a0c870f6ac4dfa72a192e952319dd0ec917c
parent38ebb396c955ceb2ef7e246248ceb7f8bfe1b774
bsd-user: OS-agnostic 64-bit SYSCTL types

Use existence of type as #ifdef condition rather than FreeBSD-specific
version check, as suggested by Patrick Welche.

Also handle the signed (CTLTYPE_S64) case identically to the unsigned
(CTLTYPE_U64) case, per later patches in the FreeBSD ports tree
(emulators/qemu-devel/files/patch-z-arm-bsd-user-001).

Signed-off-by: Ed Maste <emaste@freebsd.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
bsd-user/syscall.c