iOS compilation fixes

This commit is contained in:
Xawotihs
2010-11-19 23:16:31 +00:00
parent 6d855e6cda
commit 8339cdd3b3
30 changed files with 327 additions and 220 deletions

View File

@@ -10,7 +10,7 @@ using std::map;
static map<const LocalKeySym, KeyRep> fattable;
static map<const JButton, KeyRep> slimtable;
#ifdef LINUX
#if defined(LINUX) || defined (IOS)
const KeyRep& translateKey(LocalKeySym key)
{
{
@@ -20,7 +20,7 @@ const KeyRep& translateKey(LocalKeySym key)
}
char* str = NULL;
#ifndef QT_CONFIG
#if not defined(QT_CONFIG) && not defined(IOS)
str = XKeysymToString(key);
#endif // QT_CONFIG
if (!str)