17 # include <TargetConditionals.h>
19 # define SENS_OS_MACIOS
23 # define SENS_OS_MACOS
28 #elif defined(ANDROID) || defined(ANDROID_NDK)
29 # define SENS_OS_ANDROID
33 # define SENS_OS_WINDOWS
34 # define SENS_USE_DISCARD_STEREOMODES
38 # define STDCALL __stdcall
39 #elif defined(linux) || defined(__linux) || defined(__linux__)
40 # define SENS_OS_LINUX
41 # define SENS_USE_DISCARD_STEREOMODES
45 # error "SL has not been ported to this OS"
56 using SENSClock = std::chrono::high_resolution_clock;
57 using SENSTimePt = std::chrono::high_resolution_clock::time_point;
60 #define SENS_DEBUG(...) Utils::log("SENS DEBUG", __VA_ARGS__);
64 #define SENS_WARN(...) Utils::log("SENS WARN", __VA_ARGS__);
std::chrono::microseconds SENSMicroseconds
std::chrono::high_resolution_clock SENSClock
std::chrono::high_resolution_clock::time_point SENSTimePt