X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=common%2Fos.hpp;h=91c819fca55f09a516a746d23283bd0ab81766de;hb=570d8ccab67e230f61f9c79e4eaa6a1159bb6428;hp=7f624517432838f1a8fd38515cbf0c871b15af6d;hpb=1242ab5cbdc409e2fc2d787edc28c6ac2a8439d1;p=apitrace diff --git a/common/os.hpp b/common/os.hpp index 7f62451..91c819f 100644 --- a/common/os.hpp +++ b/common/os.hpp @@ -42,6 +42,9 @@ #ifndef vsnprintf #define vsnprintf _vsnprintf #endif +#ifndef strcasecmp +#define strcasecmp stricmp +#endif #endif /* !_WIN32 */ namespace os { @@ -70,15 +73,6 @@ void log(const char *format, ...) #endif #endif -#ifdef ANDROID -bool apitrace_enabled(void); -#else -static inline bool apitrace_enabled(void) -{ - return true; -} -#endif - void abort(void); void setExceptionCallback(void (*callback)(void));