diff options
author | est31 <MTest31@outlook.com> | 2016-09-30 14:30:37 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2016-09-30 15:27:36 +0200 |
commit | 33a606c034a6dfea4a011b6d69077455bbb56746 (patch) | |
tree | 6a8b3fc8d873ca453762eb9c2016e6dd3b171ab8 /src | |
parent | 45a9145a4bd44a677c77687880d0b0acb7e6b421 (diff) | |
download | minetest-33a606c034a6dfea4a011b6d69077455bbb56746.tar.gz minetest-33a606c034a6dfea4a011b6d69077455bbb56746.tar.bz2 minetest-33a606c034a6dfea4a011b6d69077455bbb56746.zip |
Fix android build
Fixes #4493.
Diffstat (limited to 'src')
-rw-r--r-- | src/porting.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/porting.cpp b/src/porting.cpp index ae9114ac8..f0337b610 100644 --- a/src/porting.cpp +++ b/src/porting.cpp @@ -613,10 +613,11 @@ void setXorgClassHint(const video::SExposedVideoData &video_data, bool setXorgWindowIcon(IrrlichtDevice *device) { -#if RUN_IN_PLACE +#ifdef XORG_USED +# if RUN_IN_PLACE return setXorgWindowIconFromPath(device, path_share + "/misc/" PROJECT_NAME "-xorg-icon-128.png"); -#else +# else // We have semi-support for reading in-place data if we are // compiled with RUN_IN_PLACE. Don't break with this and // also try the path_share location. @@ -625,6 +626,8 @@ bool setXorgWindowIcon(IrrlichtDevice *device) ICON_DIR "/hicolor/128x128/apps/" PROJECT_NAME ".png") || setXorgWindowIconFromPath(device, path_share + "/misc/" PROJECT_NAME "-xorg-icon-128.png"); +# endif + return false; #endif } |