#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) #define IS_WIN32 #endif #ifdef __ANDROID__ #include #endif #ifdef IS_WIN32 #include #endif #if defined(__GNUC__) // Attributes to prevent 'unused' function from being removed and to make it visible #define FUNCTION_ATTRIBUTE __attribute__((visibility("default"))) __attribute__((used)) #elif defined(_MSC_VER) // Marking a function for export #define FUNCTION_ATTRIBUTE __declspec(dllexport) #endif long long int get_now(); void platform_log(const char *fmt, ...);