Revision 46ea3397
b/darwin-user/main.c | ||
---|---|---|
478 | 478 |
} |
479 | 479 |
|
480 | 480 |
/* ABI convention: after a syscall if there was an error the CF flag is set */ |
481 |
static inline set_error(CPUX86State *env, int ret) |
|
481 |
static inline void set_error(CPUX86State *env, int ret)
|
|
482 | 482 |
{ |
483 | 483 |
if(ret<0) |
484 | 484 |
env->eflags = env->eflags | 0x1; |
Also available in: Unified diff