diff options
author | Tzafrir Cohen <tzafrir@cohens.org.il> | 2012-09-15 03:17:45 +0300 |
---|---|---|
committer | Tzafrir Cohen <tzafrir@cohens.org.il> | 2012-09-15 03:17:45 +0300 |
commit | 7e13676d807471211320962d6e420ebec8cf7eec (patch) | |
tree | 2da516744dfeb375efdd06d98f65560458292773 /transtbl.cc | |
parent | 8e2e05e4bd041b559a0352f0ad93729b7b65db91 (diff) |
Reqwritten autoconf. Now builds
* Rewritten autoconf
* (Hopefully not over-)Simplified it.
* Quite a few build fixes (not well done, probably)
Diffstat (limited to 'transtbl.cc')
-rw-r--r-- | transtbl.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/transtbl.cc b/transtbl.cc index 6c4b3d1..0f42bb7 100644 --- a/transtbl.cc +++ b/transtbl.cc @@ -18,6 +18,8 @@ #include <stdio.h> #include <errno.h> +#include <stdlib.h> +#include <string.h> #include "transtbl.h" #include "io.h" // set_last_error @@ -66,7 +68,7 @@ static char *parse_next_char(char *s, unichar &ch) unistring us; us.init_from_utf8(s, end - s); if (us.size() != 1) - return false; + return NULL; ch = us[0]; return end + 1; } else { |