use the POSIX standard '__linux__' macro instead of 'linux'
authorHans-Christoph Steiner <hans@eds.org>
Mon, 27 Aug 2012 18:58:24 +0000 (14:58 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 27 Aug 2012 18:58:24 +0000 (14:58 -0400)
commit485c4d5ca8ad403b27afd39d3016f9741f28867a
tree0614077f5d6d4b50a2935b362e158721df11139b
parent1d3f4ef7dcb41b6d73eb27039cb313545cac62d7
use the POSIX standard '__linux__' macro instead of 'linux'

"Use __linux__ for this purpose, not linux. Although the latter is defined, it is not POSIX compliant."
http://www.faqs.org/docs/Linux-HOWTO/GCC-HOWTO.html#INDEX.25
30 files changed:
lib/dyn_gw/src/olsrd_dyn_gw.c
lib/httpinfo/src/olsrd_httpinfo.c
lib/jsoninfo/src/olsrd_jsoninfo.c
lib/mdns/src/NetworkInterfaces.c
lib/secure/src/olsrd_secure.c
lib/tas/src/lua/loadlib.c
lib/tas/src/os_unix.c
lib/tas/src/os_unix.h
lib/txtinfo/src/olsrd_txtinfo.c
make/Makefile.android
make/Makefile.linux
src/build_msg.c
src/cfgparser/olsrd_conf.c
src/gateway.c
src/gateway_default_handler.c
src/gateway_default_handler.h
src/hna_set.c
src/interfaces.h
src/kernel_routes.h
src/linux/kernel_tunnel.c
src/main.c
src/olsr.c
src/olsr_cfg.h
src/olsr_niit.c
src/olsr_niit.h
src/olsr_spf.c
src/olsr_types.h
src/process_routes.c
src/tc_set.c
src/unix/ifnet.c