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 /filter | |
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 'filter')
-rw-r--r-- | filter/source/graphicfilter/ios2met/ios2met.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/graphicfilter/ios2met/ios2met.cxx b/filter/source/graphicfilter/ios2met/ios2met.cxx index 7a9d624088ed..b35f5b7fc71c 100644 --- a/filter/source/graphicfilter/ios2met/ios2met.cxx +++ b/filter/source/graphicfilter/ios2met/ios2met.cxx @@ -905,7 +905,7 @@ void OS2METReader::ReadRelLine(bool bGivenPos, sal_uInt16 nOrderLen) if (nPolySize==0) return; tools::Polygon aPolygon(nPolySize); for (i=0; i<nPolySize; i++) { -#if defined SOLARIS && defined PPC +#if defined __sun && defined PPC sal_uInt8 nunsignedbyte; *pOS2MET >> nunsignedbyte; aP0.X()+=(sal_Int8)nunsignedbyte; *pOS2MET >> nunsignedbyte; aP0.Y()+=(sal_Int8)nunsignedbyte; |