Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #197403

Category libpcap
Changed by Francois-Xavier Le Bail <devel.fx.lebailohnoyoudont@orange.fr>
Changed at Wed 15 May 2024 21:19:04
Repository https://git.tcpdump.org/libpcap
Project libpcap
Branch master
Revision 8d41908f6fedf2249dabb9e6b44a1882977fe2ef

Comments

Use always __linux__ for code that uses Linux-specific features
See:
https://web.archive.org/web/20231206084513/http://www.faqs.org/docs/Linux-HOWTO/GCC-HOWTO.html#INDEX.25
"Use __linux__ for this purpose, not linux. Although the latter is
 defined, it is not POSIX compliant."

In fact, linux is not always defined:
TinyCC does not define linux, but __linux__.

Changed files