]> git.cworth.org Git - apitrace/blobdiff - common/os.hpp
Use skiplist-based FastCallSet within trace::CallSet
[apitrace] / common / os.hpp
index 7f624517432838f1a8fd38515cbf0c871b15af6d..91c819fca55f09a516a746d23283bd0ab81766de 100644 (file)
@@ -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));