summaryrefslogtreecommitdiff
path: root/platform/haiku
diff options
context:
space:
mode:
authorKostadin Damyanov <maxmight@gmail.com>2015-05-25 06:34:16 +0300
committerKostadin Damyanov <maxmight@gmail.com>2015-05-25 06:34:16 +0300
commita5533270436e51c660d2c196e2a6a8f9e21d6420 (patch)
tree416b6ad13bcc79eb7e34ca9c452e797a7d1d8186 /platform/haiku
parent826f8af1ef3311ddcc0fab27629f7a5fcfa1b024 (diff)
Haiku: some small fixes
Diffstat (limited to 'platform/haiku')
-rw-r--r--platform/haiku/os_haiku.cpp4
-rw-r--r--platform/haiku/os_haiku.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/platform/haiku/os_haiku.cpp b/platform/haiku/os_haiku.cpp
index 4d45bb3333..7c207f265b 100644
--- a/platform/haiku/os_haiku.cpp
+++ b/platform/haiku/os_haiku.cpp
@@ -79,3 +79,7 @@ OS::VideoMode OS_Haiku::get_video_mode(int p_screen) const {
void OS_Haiku::get_fullscreen_mode_list(List<VideoMode> *p_list, int p_screen) const {
}
+
+String OS_Haiku::get_executable_path() const {
+ return OS::get_executable_path();
+}
diff --git a/platform/haiku/os_haiku.h b/platform/haiku/os_haiku.h
index 7e3cf84579..8740a738cc 100644
--- a/platform/haiku/os_haiku.h
+++ b/platform/haiku/os_haiku.h
@@ -1,7 +1,6 @@
#ifndef OS_HAIKU_H
#define OS_HAIKU_H
-#include "os/os.h"
#include "drivers/unix/os_unix.h"
@@ -38,6 +37,7 @@ public:
virtual void set_video_mode(const VideoMode& p_video_mode, int p_screen=0);
virtual VideoMode get_video_mode(int p_screen=0) const;
virtual void get_fullscreen_mode_list(List<VideoMode> *p_list, int p_screen=0) const;
+ virtual String get_executable_path() const;
};
#endif