Fix wpa_supplicant build for uClinux
The code contains a bogus #ifdef for uClinux building. [Bug 286]
This commit is contained in:
parent
2c04820d80
commit
7ee6258f7c
1 changed files with 3 additions and 3 deletions
|
@ -78,9 +78,9 @@ int os_mktime(int year, int month, int day, int hour, int min, int sec,
|
|||
|
||||
int os_daemonize(const char *pid_file)
|
||||
{
|
||||
#ifdef __unclinux
|
||||
#ifdef __uClinux__
|
||||
return -1;
|
||||
#else /* __uclinux */
|
||||
#else /* __uClinux__ */
|
||||
if (daemon(0, 0)) {
|
||||
perror("daemon");
|
||||
return -1;
|
||||
|
@ -95,7 +95,7 @@ int os_daemonize(const char *pid_file)
|
|||
}
|
||||
|
||||
return -0;
|
||||
#endif /* __uclinux */
|
||||
#endif /* __uClinux__ */
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue