versioninfo.h 625 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifdef __GNUC__
  2. #define GCC_VERSION "GCC " __VERSION__
  3. #else
  4. #define GCC_VERSION "unknown compiler"
  5. #endif
  6. #ifdef LMMS_HOST_X86
  7. #define MACHINE "i386"
  8. #endif
  9. #ifdef LMMS_HOST_X86_64
  10. #define MACHINE "x86_64"
  11. #endif
  12. #ifndef MACHINE
  13. #define MACHINE "unknown processor"
  14. #endif
  15. #ifdef LMMS_BUILD_LINUX
  16. #define PLATFORM "Linux"
  17. #endif
  18. #ifdef LMMS_BUILD_APPLE
  19. #define PLATFORM "OS X"
  20. #endif
  21. #ifdef LMMS_BUILD_OPENBSD
  22. #define PLATFORM "OpenBSD"
  23. #endif
  24. #ifdef LMMS_BUILD_FREEBSD
  25. #define PLATFORM "FreeBSD"
  26. #endif
  27. #ifdef LMMS_BUILD_WIN32
  28. #define PLATFORM "win32"
  29. #endif
  30. #ifdef LMMS_BUILD_HAIKU
  31. #define PLATFORM "Haiku"
  32. #endif