aboutsummaryrefslogtreecommitdiff
path: root/Android
diff options
context:
space:
mode:
authorbhgv <bhgv.empire@gmail.com>2018-07-06 02:17:43 +0300
committerbhgv <bhgv.empire@gmail.com>2018-07-06 02:17:43 +0300
commit4f791e70fbee965278c7881be83f1c86f6909fc3 (patch)
tree573b2332f34f8568d40b34bdd509747466f8adef /Android
parent72f4c783fffbb4f8ec3a65cf23ad4a28e488bfaa (diff)
changes for clutter and for debugging for clutter
Diffstat (limited to 'Android')
-rw-r--r--Android/386/include/lib9.h3
-rw-r--r--Android/arm/include/lib9.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/Android/386/include/lib9.h b/Android/386/include/lib9.h
index 6c4153a..eac65be 100644
--- a/Android/386/include/lib9.h
+++ b/Android/386/include/lib9.h
@@ -64,7 +64,8 @@ typedef unsigned long uintptr;
#undef offsetof
#define offsetof(s, m) (ulong)(&(((s*)0)->m))
#undef assert
-#define assert(x) if(x){}else _assert("x")
+//#define assert(x) if(x){}else _assert("x")
+#define assert(x) if(x){}else _assert("%s: %d", __func__, __LINE__)
/*
* most mem and string routines are declared by ANSI/POSIX files above
diff --git a/Android/arm/include/lib9.h b/Android/arm/include/lib9.h
index 20f676f..33fac6d 100644
--- a/Android/arm/include/lib9.h
+++ b/Android/arm/include/lib9.h
@@ -92,6 +92,7 @@ typedef unsigned long uintptr;
*/
extern char* strecpy(char*, char*, char*);
+#define strdup strdup_
extern char* strdup(const char*);
extern int cistrncmp(char*, char*, int);
extern int cistrcmp(char*, char*);