Commit 80e401ab08668ac9653543b0267961d9e2f49145

Sam Lantinga 2014-06-21T11:48:12

Added NaCl to SDL_GetPlatform()

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/SDL.c b/src/SDL.c
index dacd0f7..1e2707d 100644
--- a/src/SDL.c
+++ b/src/SDL.c
@@ -421,6 +421,8 @@ SDL_GetPlatform()
     return "MacOS Classic";
 #elif __MACOSX__
     return "Mac OS X";
+#elif __NACL__
+    return "NaCl";
 #elif __NETBSD__
     return "NetBSD";
 #elif __OPENBSD__