diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-12-10 08:56:18 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-12-10 09:06:16 (GMT) |
commit | 0e04bd14bb422d7098f859a3b904fcf4d05aa458 (patch) | |
tree | 30df3d7e1419e47da6e1085da80e120d9f29e2a3 /doc/src/snippets/code/doc_src_examples_qtscriptcustomclass.qdoc | |
parent | d2a52072c7f0220d7abf0f73102cc5db616527b2 (diff) | |
download | Qt-0e04bd14bb422d7098f859a3b904fcf4d05aa458.zip Qt-0e04bd14bb422d7098f859a3b904fcf4d05aa458.tar.gz Qt-0e04bd14bb422d7098f859a3b904fcf4d05aa458.tar.bz2 |
Don't include <features.h> directly: non-standard header.
It's completely wrong to assume that any Linux has
features.h. Instead, include something that comes from the libc (like
stdlib.h, which is specified by ISO C 89) and hope that __GLIBC__ gets
defined.
Specifically don't do this to stddef.h as that one comes from the
compiler.
Reviewed-by: Andreas Kling
Diffstat (limited to 'doc/src/snippets/code/doc_src_examples_qtscriptcustomclass.qdoc')
0 files changed, 0 insertions, 0 deletions