Global.h 863 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * author: Patrick-Christopher Mattulat
  3. * dev-tools: JetBrains CLion
  4. * created: 10.08.2018
  5. * last updated: 01.09.2018
  6. */
  7. #ifndef GLOBAL_H
  8. #define GLOBAL_H
  9. #include "OperatingSystem.h"
  10. #include "BuildMode.h"
  11. // detect OS
  12. #ifdef __ANDROID__
  13. #define OS OS_ANDROID
  14. #endif
  15. #ifdef __linux__
  16. #define OS OS_LINUX
  17. #endif
  18. #ifdef _WIN32
  19. #define OS OS_WINDOWS
  20. #endif
  21. #if !defined __ANDROID__ && !defined __linux__ && !defined _WIN32
  22. #define OS OS_NOT_SELECTED
  23. #endif
  24. // set globals
  25. #define LYNAR_MOON_VERSION_STR "1.5.0"
  26. #define RELEASE_DATE "01.09.2018"
  27. #define BUILD_MODE BUILD_DEBUG
  28. #define LOG_DURATION_OF_VALIDITY 200
  29. #endif