aboutsummaryrefslogtreecommitdiffstats
path: root/android/utils
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2010-02-16 10:38:35 -0800
committerVladimir Chtchetkine <vchtchetkine@google.com>2010-02-18 15:22:07 -0800
commit5389aa19033153c09556d1362a8b8a56abccb8f5 (patch)
tree5d731effe5bd5d2f162f06aadec7212045eaef3d /android/utils
parent76dbca0489ab98a46f2954bc7b77c3df6f9d8264 (diff)
downloadexternal_qemu-5389aa19033153c09556d1362a8b8a56abccb8f5.zip
external_qemu-5389aa19033153c09556d1362a8b8a56abccb8f5.tar.gz
external_qemu-5389aa19033153c09556d1362a8b8a56abccb8f5.tar.bz2
Merge memory checking from sandbox
Change-id: Ibce845d0
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 );