#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
+#include <string.h>
#ifdef _WIN32
#ifndef snprintf
#ifndef vsnprintf
#define vsnprintf _vsnprintf
#endif
-#define PATH_SEP '\\'
-#else /* !_WIN32 */
-#define PATH_SEP '/'
-#endif /* !_WIN32 */
-
-#ifndef PATH_MAX
-#define PATH_MAX 1024
+#ifndef strcasecmp
+#define strcasecmp stricmp
#endif
+#endif /* !_WIN32 */
namespace os {
-void acquireMutex(void);
-
-void releaseMutex(void);
-
-bool getProcessName(char *str, size_t size);
-bool getCurrentDir(char *str, size_t size);
-
void log(const char *format, ...)
#ifdef __GNUC__
__attribute__ ((format (printf, 1, 2)))
#endif
#endif
-/**
- * Get the current time in microseconds from an unknown base.
- */
-long long getTime(void);
-
void abort(void);
void setExceptionCallback(void (*callback)(void));