diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/daemon.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon.cc b/src/daemon.cc index 68e74770..35a094c1 100644 --- a/src/daemon.cc +++ b/src/daemon.cc @@ -43,7 +43,7 @@ namespace aria2 { int daemon(int nochdir, int noclose) { pid_t pid; -#ifdef HAVE_FORK +#ifdef HAVE_WORKING_FORK pid = fork(); if(pid == -1) { return -1; @@ -75,7 +75,7 @@ int daemon(int nochdir, int noclose) return -1; } } -#endif // HAVE_FORK +#endif // HAVE_WORKING_FORK return 0; } |
