#ifndef vsnprintf
#define vsnprintf _vsnprintf
#endif
+#ifndef strcasecmp
+#define strcasecmp stricmp
+#endif
#endif /* !_WIN32 */
namespace os {
-void acquireMutex(void);
-
-void releaseMutex(void);
-
void log(const char *format, ...)
#ifdef __GNUC__
__attribute__ ((format (printf, 1, 2)))
#endif
/**
- * Get the current time in microseconds from an unknown base.
+ * Exit immediately.
+ *
+ * This should be called only from the wrappers, when there is no safe way of
+ * failing gracefully.
*/
-long long getTime(void);
-
void abort(void);
void setExceptionCallback(void (*callback)(void));