BeOS updates.

This commit is contained in:
William Kendrick 2007-12-07 00:05:45 +00:00
parent c40cc5aad2
commit 344492dad4
8 changed files with 26 additions and 12 deletions

View file

@ -8,7 +8,7 @@
// plan to rip this out as soon as it is considered stable
//#define THREADED_FONTS
#define FORKED_FONTS
#ifdef WIN32
#if defined(WIN32) || defined(__BEOS__)
#undef FORKED_FONTS
#endif

View file

@ -25,7 +25,7 @@
$Id$
June 14, 2002 - July 26, 2007
June 14, 2002 - December 6, 2007
*/
#include <stdio.h>
@ -54,7 +54,7 @@
#define OLD_UPPERCASE_CODE
#endif
#ifndef OLD_UPPERCASE_CODE
#if !defined(OLD_UPPERCASE_CODE) || defined(__BEOS__)
#include <wctype.h>
#endif

View file

@ -10,7 +10,7 @@
$Id$
June 14, 2002 - October 14, 2007
June 14, 2002 - December 6, 2007
*/

View file

@ -570,9 +570,12 @@ static int charmap_load(CHARMAP* cm, const char* path)
if(charmap_add(cm, section, buf, unicode, flag)) {
size_t i = 0;
#ifndef __BEOS__
fwprintf(stderr, L"Unable to add sequence '%ls', unicode ", buf);
for(i = 0; i < wcslen(unicode); i++) fwprintf(stderr, L"%04X ", (int)unicode[i]);
fwprintf(stderr, L"in section %d\n", section);
#endif
error_code = 1;
}
}

View file

@ -22,7 +22,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
June 14, 2002 - December 4, 2007
June 14, 2002 - December 6, 2007
$Id$
*/
@ -221,7 +221,7 @@ char *strcasestr(const char *haystack, const char *needle)
#include <locale.h>
#ifndef OLD_UPPERCASE_CODE
#if !defined(OLD_UPPERCASE_CODE) || defined(__BEOS__)
#include <wctype.h>
#endif