From 50a92455febba116be7a9d1bbeb46d4f2f6a6143 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Sat, 14 Mar 2009 02:11:31 +0000 Subject: Fixes for SGI builds (STR#2174) 1) C++ style comments in C files converted to /* */ 2) #warning's had to be #ifdef'ed out (#if !defined(sgi)..) With these mods, 1.3.x compiles on IRIX 6.5 with no failures. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/xutf8/utf8Input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xutf8/utf8Input.c') diff --git a/src/xutf8/utf8Input.c b/src/xutf8/utf8Input.c index b54619184..7fe9ff17e 100644 --- a/src/xutf8/utf8Input.c +++ b/src/xutf8/utf8Input.c @@ -367,7 +367,7 @@ XConvertEucToUtf8( if (strstr(locale, "ja")) { return XConvertEucJpToUtf8(buffer_return, len); - } else if (strstr(locale, "Big5") || strstr(locale, "big5")) { // BIG5 + } else if (strstr(locale, "Big5") || strstr(locale, "big5")) { /* BIG5 */ return XConvertBig5ToUtf8(buffer_return, len); } else if (strstr(locale, "zh") || strstr(locale, "chinese-")) { if (strstr(locale, "TW") || strstr(locale, "chinese-t")) { @@ -432,7 +432,7 @@ XUtf8LookupString( return len; } -#endif // X11 only +#endif /* X11 only */ /* * End of "$Id$". -- cgit v1.2.3