diff options
Diffstat (limited to 'bsd-user')
-rw-r--r-- | bsd-user/syscall.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bsd-user/syscall.c b/bsd-user/syscall.c index 4f713f2..3cff357 100644 --- a/bsd-user/syscall.c +++ b/bsd-user/syscall.c @@ -66,7 +66,7 @@ abi_long do_freebsd_syscall(void *cpu_env, int num, abi_long arg1, switch(num) { case TARGET_FREEBSD_NR_exit: -#ifdef HAVE_GPROF +#ifdef TARGET_GPROF _mcleanup(); #endif gdb_exit(cpu_env, arg1); @@ -138,7 +138,7 @@ abi_long do_netbsd_syscall(void *cpu_env, int num, abi_long arg1, switch(num) { case TARGET_NETBSD_NR_exit: -#ifdef HAVE_GPROF +#ifdef TARGET_GPROF _mcleanup(); #endif gdb_exit(cpu_env, arg1); @@ -210,7 +210,7 @@ abi_long do_openbsd_syscall(void *cpu_env, int num, abi_long arg1, switch(num) { case TARGET_OPENBSD_NR_exit: -#ifdef HAVE_GPROF +#ifdef TARGET_GPROF _mcleanup(); #endif gdb_exit(cpu_env, arg1); |