From: <va...@us...> - 2009-03-06 02:13:35
|
Revision: 15 http://nc110.svn.sourceforge.net/nc110/?rev=15&view=rev Author: vapier Date: 2009-03-06 02:13:34 +0000 (Fri, 06 Mar 2009) Log Message: ----------- use __linux__ rather than LINUX as toolchains set that up automatically Modified Paths: -------------- nc110-community-edition/generic.h nc110-community-edition/netcat.c Modified: nc110-community-edition/generic.h =================================================================== --- nc110-community-edition/generic.h 2009-03-06 02:11:45 UTC (rev 14) +++ nc110-community-edition/generic.h 2009-03-06 02:13:34 UTC (rev 15) @@ -279,7 +279,7 @@ /* linux, which is trying as desperately as the gnu folks can to be POSIXLY_CORRECT. I think I'm gonna hurl... */ -#ifdef LINUX +#ifdef __linux__ #undef UTMPX #undef HAVE_SYSINFO #undef HAVE_SELECT_H Modified: nc110-community-edition/netcat.c =================================================================== --- nc110-community-edition/netcat.c 2009-03-06 02:11:45 UTC (rev 14) +++ nc110-community-edition/netcat.c 2009-03-06 02:13:34 UTC (rev 15) @@ -46,7 +46,7 @@ #ifdef HAVE_TIME_H #include <time.h> #endif -#ifdef LINUX +#ifdef __linux__ #include <resolv.h> #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |