summaryrefslogtreecommitdiff
path: root/indra/test/lltut.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/test/lltut.h')
-rwxr-xr-xindra/test/lltut.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/test/lltut.h b/indra/test/lltut.h
index b334fb51e2..9835565bb6 100755
--- a/indra/test/lltut.h
+++ b/indra/test/lltut.h
@@ -75,10 +75,14 @@ namespace tut
// overloads declared above.
// turn off warnings about unused functions from clang for tut package
+#if __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-function"
+#endif
#include <tut/tut.hpp>
+#if __clang__
#pragma clang diagnostic pop
+#endif
// The functions BELOW this point actually consume tut.hpp functionality.
namespace tut