From 9510d1d52b0bdf3ba8665571eedc42202dc546c7 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Tue, 1 Feb 2011 01:06:27 +0000 Subject: 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 --- src/xutf8/utils/convert_map.c | 2 +- src/xutf8/utils/euc_tw.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xutf8/utils') diff --git a/src/xutf8/utils/convert_map.c b/src/xutf8/utils/convert_map.c index 6e9c6492a..fb68469a5 100644 --- a/src/xutf8/utils/convert_map.c +++ b/src/xutf8/utils/convert_map.c @@ -105,7 +105,7 @@ int JIS0212(unsigned char * ptr) { ptr += 7; i += 7; while(*ptr == ' ') { ptr++; i++; } - //i++; ptr++; + /* i++; ptr++; */ *(ptr+6) = '\0'; ucs = (unsigned int)strtoul(ptr, NULL, 16); if (*(ptr + 1) != 'x') { diff --git a/src/xutf8/utils/euc_tw.c b/src/xutf8/utils/euc_tw.c index 523266653..d76890888 100644 --- a/src/xutf8/utils/euc_tw.c +++ b/src/xutf8/utils/euc_tw.c @@ -54,7 +54,7 @@ int main(int argc, char **argv) { if (l2 != 6) { ucs = (unsigned)ob[0]; ucs += (unsigned) (ob[1] << 8); - //XConvertUtf8ToUcs((unsigned char*)ob, 6 - l2, &ucs); + /* XConvertUtf8ToUcs((unsigned char*)ob, 6 - l2, &ucs); */ printf ("%x --> %X\n", i, ucs & 0xFFFF); } } -- cgit v1.2.3