logglobal.h 462 B

12345678910111213141516171819202122232425262728
  1. /**
  2. @file
  3. @author Stefan Frings
  4. */
  5. #ifndef LOGGLOBAL_H
  6. #define LOGGLOBAL_H
  7. #include <QtGlobal>
  8. // This is specific to Windows dll's
  9. #if defined(Q_OS_WIN)
  10. #if defined(QTWEBAPPLIB_EXPORT)
  11. #define DECLSPEC Q_DECL_EXPORT
  12. #elif defined(QTWEBAPPLIB_IMPORT)
  13. #define DECLSPEC Q_DECL_IMPORT
  14. #endif
  15. #endif
  16. #if !defined(DECLSPEC)
  17. #define DECLSPEC
  18. #endif
  19. #if __cplusplus < 201103L
  20. #define nullptr 0
  21. #endif
  22. #endif // LOGGLOBAL_H