]> git.cworth.org Git - apitrace/blobdiff - os.hpp
Better directory name.
[apitrace] / os.hpp
diff --git a/os.hpp b/os.hpp
index 3c244625079627edb50e5f71a45cddddacc9ee30..52f70eb5a772275a5b4992d2a6e20204a6245445 100644 (file)
--- a/os.hpp
+++ b/os.hpp
@@ -26,6 +26,9 @@
 #ifndef _OS_HPP_
 #define _OS_HPP_
 
+#include <stdlib.h>
+#include <stdarg.h>
+
 #ifdef WIN32
 #ifndef snprintf
 #define snprintf _snprintf
 #ifndef vsnprintf
 #define vsnprintf _vsnprintf
 #endif
-#endif /* WIN32 */
+#define PATH_SEP '\\'
+#else /* !WIN32 */
+#define PATH_SEP '/'
+#endif /* !WIN32 */
 
 #ifndef PATH_MAX
 #define PATH_MAX 1024
@@ -46,6 +52,9 @@ void AcquireMutex(void);
 void ReleaseMutex(void);
 
 bool GetProcessName(char *str, size_t size);
+bool GetCurrentDir(char *str, size_t size);
+
+void DebugMessage(const char *format, ...);
 
 void Abort(void);