summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_examples_qtscriptcustomclass.qdoc
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-12-10 08:56:18 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-12-10 09:06:16 (GMT)
commit0e04bd14bb422d7098f859a3b904fcf4d05aa458 (patch)
tree30df3d7e1419e47da6e1085da80e120d9f29e2a3 /doc/src/snippets/code/doc_src_examples_qtscriptcustomclass.qdoc
parentd2a52072c7f0220d7abf0f73102cc5db616527b2 (diff)
downloadQt-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