summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/inc/tools.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/inc/tools.hxx b/slideshow/source/inc/tools.hxx
index bb50d8a7ae3e..039db8339d58 100644
--- a/slideshow/source/inc/tools.hxx
+++ b/slideshow/source/inc/tools.hxx
@@ -294,7 +294,7 @@ namespace slideshow
/// To work around ternary operator in initializer lists
/// (Solaris compiler problems)
-#ifdef SOLARIS
+#ifdef __sun
template <typename T>
inline T const & ternary_op(
const bool cond, T const & arg1, T const & arg2 )