diff options
| author | Greg Ercolano <erco@seriss.com> | 2011-02-01 01:06:27 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2011-02-01 01:06:27 +0000 |
| commit | 9510d1d52b0bdf3ba8665571eedc42202dc546c7 (patch) | |
| tree | 4da9b6d85a94197ce22143d0fe9a89d4fea692f4 /src/xutf8/utf8Input.c | |
| parent | 5759f3151f45a139266b956b7a879fdae08ec4c7 (diff) | |
Fixes to help build on SGI.
Mainly: problem with C++ style comments that were in C code and headers.
SGI C compiler / pre processor no grok C++ comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/xutf8/utf8Input.c')
| -rw-r--r-- | src/xutf8/utf8Input.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xutf8/utf8Input.c b/src/xutf8/utf8Input.c index 400b7b1de..2fb415b51 100644 --- a/src/xutf8/utf8Input.c +++ b/src/xutf8/utf8Input.c @@ -52,7 +52,7 @@ typedef struct { unsigned short used; } Summary16; -#define NEED_TOWC // indicates what part of these include files is needed here (avoid compilation warnings) +#define NEED_TOWC /* indicates what part of these include files is needed here (avoid compilation warnings) */ #include "lcUniConv/big5.h" #include "lcUniConv/gb2312.h" #include "lcUniConv/cp936ext.h" @@ -382,7 +382,8 @@ XConvertEucToUtf8(const char* locale, int len, int bytes_buffer) { - //if (!locale/* || strstr(locale, "UTF") || strstr(locale, "utf")*/) { + /* if (!locale) { */ + /* if (!locale || strstr(locale, "UTF") || strstr(locale, "utf")) { */ if (!locale || strstr(locale, "UTF") || strstr(locale, "utf")) { return len; } |
