bsd-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS
This value is fully internal to qemu, and so is not a TARGET define. We use this as an extra marker for both host and target errno. Reviewed-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
af254a2792
commit
ea8ee3ee93
|
@ -151,6 +151,6 @@
|
||||||
/* Internal errors: */
|
/* Internal errors: */
|
||||||
#define TARGET_EJUSTRETURN 254 /* Just return without modifing regs */
|
#define TARGET_EJUSTRETURN 254 /* Just return without modifing regs */
|
||||||
#define TARGET_ERESTART 255 /* Restart syscall */
|
#define TARGET_ERESTART 255 /* Restart syscall */
|
||||||
#define TARGET_ERESTARTSYS TARGET_ERESTART /* Linux compat */
|
#define QEMU_ERESTARTSYS TARGET_ERESTART
|
||||||
|
|
||||||
#endif /* ! _ERRNO_DEFS_H_ */
|
#endif /* ! _ERRNO_DEFS_H_ */
|
||||||
|
|
Loading…
Reference in New Issue