#include <stdlib.h>
// conversion tables, generated by scripts in $(WXWIN)/misc/unictabl:
-#ifdef __BORLANDC__
+#if defined( __BORLANDC__ ) || defined(__DARWIN__)
#include "../common/unictabl.inc"
#else
#include "unictabl.inc"
#ifdef __WXMAC__
-#include "ATSUnicode.h"
-#include "TextCommon.h"
-#include "TextEncodingConverter.h"
+#include <ATSUnicode.h>
+#include <TextCommon.h>
+#include <TextEncodingConverter.h>
#include "wx/fontutil.h"
#include "wx/mac/private.h" // includes mac headers
char s[2] ;
s[1] = 0 ;
ByteCount byteInLen, byteOutLen ;
- for( char c = 255 ; c >= 128 ; --c )
+ for( unsigned char c = 255 ; c >= 128 ; --c )
{
s[0] = c ;
status = TECConvertText(converter, (ConstTextPtr) &s , 1, &byteInLen,