diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-01-17 16:13:54 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-01-17 16:38:33 +0100 |
commit | 0cee740c95496210d62206a21e8bc9adebf4fa4d (patch) | |
tree | 4a1ff295046962418b30ac244314dfee5fb92fb5 /sfx2 | |
parent | b170265a6bba70faf1cb4172834586f4f45dd2bf (diff) |
replace #ifdef SOLARIS with #ifdef __sun
Check for a macro that is defined by the compiler, we don't really need
one defined by the build system.
Change-Id: Iccb8e3198396881395c97a6b81690ebe64b7e9d2
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/statcach.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/dialog/splitwin.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/docfilt.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/toolbox/tbxitem.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/control/statcach.cxx b/sfx2/source/control/statcach.cxx index 4721b05c1b4d..c39c7eff154a 100644 --- a/sfx2/source/control/statcach.cxx +++ b/sfx2/source/control/statcach.cxx @@ -18,7 +18,7 @@ */ -#ifdef SOLARIS +#ifdef __sun #include <ctime> #endif diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx index 79f05ab6d9a6..bd592dcb9f87 100644 --- a/sfx2/source/dialog/splitwin.cxx +++ b/sfx2/source/dialog/splitwin.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifdef SOLARIS +#ifdef __sun #include <ctime> #endif diff --git a/sfx2/source/doc/docfilt.cxx b/sfx2/source/doc/docfilt.cxx index 061cf8f3d289..f77a2766dcaf 100644 --- a/sfx2/source/doc/docfilt.cxx +++ b/sfx2/source/doc/docfilt.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifdef SOLARIS +#ifdef __sun #include <ctime> #endif diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx index 1378d0fd962f..599a206d8706 100644 --- a/sfx2/source/toolbox/tbxitem.cxx +++ b/sfx2/source/toolbox/tbxitem.cxx @@ -18,7 +18,7 @@ */ -#ifdef SOLARIS +#ifdef __sun #include <ctime> #endif |