aboutsummaryrefslogtreecommitdiffstats
path: root/android/utils
diff options
context:
space:
mode:
Diffstat (limited to 'android/utils')
-rw-r--r--android/utils/debug.h1
-rw-r--r--android/utils/path.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/android/utils/debug.h b/android/utils/debug.h
index d6bd3f9..06b9baf 100644
--- a/android/utils/debug.h
+++ b/android/utils/debug.h
@@ -34,6 +34,7 @@
_VERBOSE_TAG(hw_control, "emulated power/flashlight/led/vibrator") \
_VERBOSE_TAG(avd_config, "android virtual device configuration") \
_VERBOSE_TAG(sensors, "emulated sensors") \
+ _VERBOSE_TAG(memcheck, "memory checker") \
#define _VERBOSE_TAG(x,y) VERBOSE_##x,
typedef enum {
diff --git a/android/utils/path.h b/android/utils/path.h
index e822834..e15e6ed 100644
--- a/android/utils/path.h
+++ b/android/utils/path.h
@@ -28,8 +28,10 @@
/* define PATH_SEP as a string containing the directory separateor */
#ifdef _WIN32
# define PATH_SEP "\\"
+# define PATH_SEP_C '\\'
#else
# define PATH_SEP "/"
+# define PATH_SEP_C '/'
#endif
/* get MAX_PATH, note that PATH_MAX is set to 260 on Windows for
@@ -65,7 +67,7 @@ extern ABool path_can_write( const char* path );
/* try to make a directory */
extern APosixStatus path_mkdir( const char* path, int mode );
-/* ensure that a given directory exists, create it if not,
+/* ensure that a given directory exists, create it if not,
0 on success, -1 on error */
extern APosixStatus path_mkdir_if_needed( const char* path, int mode );