Fix particle spawners not visible since CSM spawner implementation (#8289)
[oweals/minetest.git] / src / porting_android.h
index e4be0740dea53069148755c307725403355e6bdf..0b3f2575eaf7b760d2c66d64f5f5a5a88f786d9e 100644 (file)
@@ -16,8 +16,8 @@ You should have received a copy of the GNU Lesser General Public License along
 with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
-#ifndef __PORTING_ANDROID_H__
-#define __PORTING_ANDROID_H__
+
+#pragma once
 
 #ifndef __ANDROID__
 #error this include has to be included on android port only!
@@ -76,6 +76,9 @@ int getInputDialogState();
  */
 std::string getInputDialogValue();
 
-}
-
+#ifndef SERVER
+float getDisplayDensity();
+v2u32 getDisplaySize();
 #endif
+
+}