added mbtest to the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28971 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -68,6 +68,10 @@ SimpleTest xsi_sem_test1
|
||||
: xsi_sem_test1.cpp
|
||||
;
|
||||
|
||||
SimpleTest mbtest
|
||||
: mbtest.c
|
||||
;
|
||||
|
||||
# Tell Jam where to find these sources
|
||||
SEARCH on [ FGristFiles
|
||||
syslog.cpp
|
||||
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#include <locale.h>
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
|
||||
setlocale(LC_CTYPE, "");
|
||||
|
||||
printf("Len: %i\n", mblen(argv[1], SSIZE_MAX));
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user