* Fixed build on the Haiku platform.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36375 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#include <ByteOrder.h>
|
||||
#include <File.h>
|
||||
|
||||
#if (defined(__BEOS__) || defined(__HAIKU__))
|
||||
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
|
||||
# include "SystemKeymap.h"
|
||||
// generated by the build system
|
||||
#endif
|
||||
@@ -112,7 +112,7 @@ BKeymap::SetTo(BDataIO& stream)
|
||||
status_t
|
||||
BKeymap::SetToCurrent()
|
||||
{
|
||||
#if (defined(__BEOS__) || defined(__HAIKU__))
|
||||
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
|
||||
key_map* keys = NULL;
|
||||
get_key_map(&keys, &fChars);
|
||||
if (!keys)
|
||||
@@ -131,7 +131,7 @@ BKeymap::SetToCurrent()
|
||||
status_t
|
||||
BKeymap::SetToDefault()
|
||||
{
|
||||
#if (defined(__BEOS__) || defined(__HAIKU__))
|
||||
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
|
||||
fKeys = kSystemKeymap;
|
||||
fCharsSize = kSystemKeyCharsSize;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user