From 6bb3fc93926e93154d9651e16e131ffa4c805a2e Mon Sep 17 00:00:00 2001
From: callum_linden <none@none>
Date: Wed, 10 Dec 2014 13:02:36 -0800
Subject: [PATCH] Fix for incorrectly formatted #if statements (worked on clang
 FWIW!)

---
 indra/llkdu/llimagej2ckdu.h  | 2 +-
 indra/llkdu/llkdumem.h       | 2 +-
 indra/llui/llrngwriter.cpp   | 2 +-
 indra/llui/lluictrlfactory.h | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/indra/llkdu/llimagej2ckdu.h b/indra/llkdu/llimagej2ckdu.h
index 762476ce699..02281152bf6 100755
--- a/indra/llkdu/llimagej2ckdu.h
+++ b/indra/llkdu/llimagej2ckdu.h
@@ -43,7 +43,7 @@
 #pragma clang diagnostic ignored "-Wunused-private-field"
 #include "kdu_compressed.h"
 #pragma clang diagnostic pop
-#elif
+#else
 #include "kdu_compressed.h"
 #endif
 
diff --git a/indra/llkdu/llkdumem.h b/indra/llkdu/llkdumem.h
index a0d304868e9..fab913d93b7 100755
--- a/indra/llkdu/llkdumem.h
+++ b/indra/llkdu/llkdumem.h
@@ -36,7 +36,7 @@
 #pragma clang diagnostic ignored "-Wunused-private-field"
 #include "kdu_image.h"
 #pragma clang diagnostic pop
-#elif
+#else
 #include "kdu_image.h"
 #endif
 
diff --git a/indra/llui/llrngwriter.cpp b/indra/llui/llrngwriter.cpp
index 523bc7c6677..e4a31d6a79c 100755
--- a/indra/llui/llrngwriter.cpp
+++ b/indra/llui/llrngwriter.cpp
@@ -34,7 +34,7 @@
 #pragma clang diagnostic ignored "-Wdelete-incomplete"
 #include "lluictrlfactory.h"
 #pragma clang diagnostic pop
-#elif
+#else
 #include "lluictrlfactory.h"
 #endif
 
diff --git a/indra/llui/lluictrlfactory.h b/indra/llui/lluictrlfactory.h
index 17af45cc0c5..3ce39c947f7 100755
--- a/indra/llui/lluictrlfactory.h
+++ b/indra/llui/lluictrlfactory.h
@@ -189,7 +189,7 @@ class LLUICtrlFactory : public LLSingleton<LLUICtrlFactory>
 #pragma clang diagnostic ignored "-Wdelete-incomplete"
 					delete view;
 #pragma clang diagnostic pop
-#elif
+#else
 					delete view;
 #endif
 					view = NULL;
-- 
GitLab