You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

arch.hpp 287B

1234567891011121314151617181920
  1. #pragma once
  2. // Check CPU
  3. #if defined __x86_64__
  4. #define ARCH_X64 1
  5. #endif
  6. #if defined __aarch64__
  7. #define ARCH_ARM64 1
  8. #endif
  9. // Check OS
  10. #if defined _WIN32
  11. #define ARCH_WIN 1
  12. #endif
  13. #if defined __APPLE__
  14. #define ARCH_MAC 1
  15. #endif
  16. #if defined __linux__
  17. #define ARCH_LIN 1
  18. #endif