use __linux__ rather than LINUX as toolchains set that up automatically

This commit is contained in:
Mike Frysinger
2009-03-06 02:13:34 +00:00
parent b9e72ce5af
commit 36d74baf20
2 changed files with 2 additions and 2 deletions

View File

@ -279,7 +279,7 @@ There's a BIG swamp lurking where network code of any sort lives.
/* linux, which is trying as desperately as the gnu folks can to be /* linux, which is trying as desperately as the gnu folks can to be
POSIXLY_CORRECT. I think I'm gonna hurl... */ POSIXLY_CORRECT. I think I'm gonna hurl... */
#ifdef LINUX #ifdef __linux__
#undef UTMPX #undef UTMPX
#undef HAVE_SYSINFO #undef HAVE_SYSINFO
#undef HAVE_SELECT_H #undef HAVE_SELECT_H

View File

@ -46,7 +46,7 @@
#ifdef HAVE_TIME_H #ifdef HAVE_TIME_H
#include <time.h> #include <time.h>
#endif #endif
#ifdef LINUX #ifdef __linux__
#include <resolv.h> #include <resolv.h>
#endif #endif