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:
Stefano Ceccherini
2009-01-20 16:10:39 +00:00
parent 64f6abaa91
commit 530ce9aaab
2 changed files with 16 additions and 0 deletions
+4
View File
@@ -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
+12
View File
@@ -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;
}