aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-11-07 21:21:04 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-11-07 21:21:04 +0000
commit3fe9bed80ea731b22a20d4c0d3eb5090a5af8819 (patch)
treee40c8fa6cae4688718e9737d74595af97412e989
parent03d50e9546ced3f7c135cad6617f4e397a024fce (diff)
downloadenlightenment-3fe9bed80ea731b22a20d4c0d3eb5090a5af8819.tar.gz
enlightenment-3fe9bed80ea731b22a20d4c0d3eb5090a5af8819.tar.xz
enlightenment-3fe9bed80ea731b22a20d4c0d3eb5090a5af8819.zip
E: should now compile on Mac OS X.
SVN revision: 78977
-rw-r--r--src/bin/e_start_main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/e_start_main.c b/src/bin/e_start_main.c
index 4fed2b147..201f4b588 100644
--- a/src/bin/e_start_main.c
+++ b/src/bin/e_start_main.c
@@ -394,7 +394,7 @@ main(int argc, char **argv)
else if (child == 0)
{
/* in the child */
- ptrace(PTRACE_TRACEME, 0, NULL, NULL);
+ ptrace(PT_TRACE_ME, 0, NULL, NULL);
execv(args[0], args);
return 0; /* We failed, 0 mean normal exit from E with no restart or crash so let exit */
@@ -406,12 +406,12 @@ main(int argc, char **argv)
int status;
Eina_Bool done = EINA_FALSE;
- ptrace(PTRACE_ATTACH, child, NULL, NULL);
+ ptrace(PT_ATTACH, child, NULL, NULL);
result = waitpid(child, &status, 0);
if (WIFSTOPPED(status))
- ptrace(PTRACE_CONT, child, NULL, NULL);
+ ptrace(PT_CONTINUE, child, NULL, NULL);
while (!done)
{
@@ -454,12 +454,12 @@ main(int argc, char **argv)
sig.si_signo != SIGBUS &&
sig.si_signo != SIGABRT))
{
- ptrace(PTRACE_CONT, child, NULL, back);
+ ptrace(PT_CONTINUE, child, NULL, back);
continue ;
}
/* E17 should be in pause, we can detach */
- ptrace(PTRACE_DETACH, child, NULL, back);
+ ptrace(PT_DETACH, child, NULL, back);
/* And call gdb if available */
if (home)