types.h 471 B

12345678910111213141516
  1. #pragma once
  2. #if defined(_WIN64) && defined(_M_X64)
  3. #include "win-amd64/types.h"
  4. #elif defined(_WIN32) && defined(_M_IX86)
  5. #include "win-x86/types.h"
  6. #elif defined(__APPLE__) && defined(__LP64__)
  7. #include "osx-amd64/types.h"
  8. #elif defined(__APPLE__) // TODO: && defined(__LP32__)
  9. #include "osx-x86/types.h"
  10. #elif defined(__ANDROID__)
  11. #include "android-arm/types.h"
  12. #elif defined(__linux__) && defined(__x86_64)
  13. #include "linux-amd64/types.h"
  14. #else
  15. #error port me!
  16. #endif