#include <QtCore/qglobal.h> #ifndef QGLOBAL_H #if defined(__cplusplus) class QSysInfo{ /* Some contents are skipped to improve readability */ public: enum Endian{ /* ... */ BigEndian = 0, /* ... */ }; /* ... */ }; #endif /* __cplusplus */ #endif /* QGLOBAL_H */