From 4989ad5a978cfc00d6be67664c091af17b49a2cb Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Mon, 23 Apr 2012 14:58:46 +0100 Subject: [PATCH] Fixed android detection #180 --- glm/core/setup.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/core/setup.hpp b/glm/core/setup.hpp index 13c5b722..314a27d2 100644 --- a/glm/core/setup.hpp +++ b/glm/core/setup.hpp @@ -58,7 +58,7 @@ # define GLM_PLATFORM GLM_PLATFORM_WINDOWS #elif defined(__native_client__) # define GLM_PLATFORM GLM_PLATFORM_CHROME_NACL -#elif defined(ANDROID) +#elif defined(__ANDROID__) # define GLM_PLATFORM GLM_PLATFORM_ANDROID #elif defined(__linux) # define GLM_PLATFORM GLM_PLATFORM_LINUX