From: Ihar Hrachyshka Date: Mon, 5 Jan 2009 18:32:04 +0000 (+0200) Subject: Fix wpa_supplicant build for uClinux X-Git-Tag: hostap_0_6_7~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ee6258f7c1fd5a92fa1f60ad5605640aac28c45;p=thirdparty%2Fhostap.git Fix wpa_supplicant build for uClinux The code contains a bogus #ifdef for uClinux building. [Bug 286] --- diff --git a/src/utils/os_unix.c b/src/utils/os_unix.c index a42819530..0789b7845 100644 --- a/src/utils/os_unix.c +++ b/src/utils/os_unix.c @@ -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__ */ }