mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 04:33:33 +08:00
Fix uClibc++ wstrlen bug
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5289 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -108,7 +108,7 @@ namespace std{
|
||||
}
|
||||
|
||||
inline static size_t length(const char_type* s){
|
||||
return wstrlen(s);
|
||||
return strlen(s);
|
||||
}
|
||||
|
||||
static const char_type* find(const char_type* s, int n, const char_type& a);
|
||||
|
||||
Reference in New Issue
Block a user