From: sapier Date: Tue, 6 Jan 2015 23:10:21 +0000 (+0100) Subject: Fix andorid build error X-Git-Tag: 0.4.12~134 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=42f3515c0e42c2cb85f0e6898ca54a3fe8dd2bfb;p=oweals%2Fminetest.git Fix andorid build error --- diff --git a/src/porting.cpp b/src/porting.cpp index 219e1647d..885b36e21 100644 --- a/src/porting.cpp +++ b/src/porting.cpp @@ -575,6 +575,7 @@ v2u32 getWindowSize() return device->getVideoDriver()->getScreenSize(); } +#ifndef __ANDROID__ #ifdef XORG_USED float getDisplayDensity() { @@ -609,7 +610,6 @@ float getDisplayDensity() } #endif -#ifndef __ANDROID__ v2u32 getDisplaySize() { IrrlichtDevice *nulldevice = createDevice(video::EDT_NULL);