OSDN Git Service

sim: cr16: add ifdefs around undefined syscalls
authorvapier <vapier>
Fri, 30 Dec 2011 09:12:36 +0000 (09:12 +0000)
committervapier <vapier>
Fri, 30 Dec 2011 09:12:36 +0000 (09:12 +0000)
commit63fb578f605dce6f6ef35d75294774179cce97c7
treee63fd1cb62ab0b3e07ce84bf40ec39e48bf5106a
parentbddd24fcc0a9a5191601b7cb9f947b6bdaf07934
sim: cr16: add ifdefs around undefined syscalls

The cr16 libgloss port does not define these syscall numbers, so trying
to use them results in build failures [1].  The cr16 code already uses
ifdefs around a bunch of syscalls, so extend that style to cover the
ones that are currently missing.  Now we can at least compile.

[1] http://sourceware.org/ml/gdb-patches/2011-06/msg00118.html
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sim/cr16/ChangeLog
sim/cr16/simops.c