diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 5fa02c955fadc89fb900fa4961b8e5af08151467..c1770d4aa26f0233058da5195a60c3535832ca31 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -307,7 +307,7 @@ S32 gLastExecDuration = -1; // (<0 indicates unknown)
 #   define LL_PLATFORM_KEY "mac"
 #elif LL_LINUX
 #   define LL_PLATFORM_KEY "lnx"
-else
+#else
 #   error "Unknown Platform"
 #endif
 const char* gPlatform = LL_PLATFORM_KEY;