diff options
Diffstat (limited to 'Android')
| -rw-r--r-- | Android/386/include/lib9.h | 3 | ||||
| -rw-r--r-- | Android/arm/include/lib9.h | 1 |
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*); |
