aboutsummaryrefslogtreecommitdiff
path: root/editors/libreoffice6/files/patch-sal_osl_unx_uunxapi.cxx
blob: b69fe52c57bd626c0da00b09721f9653fcda6035 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- sal/osl/unx/uunxapi.cxx.bak	2019-03-23 22:42:30.703590000 -0500
+++ sal/osl/unx/uunxapi.cxx	2019-03-23 22:46:37.905090000 -0500
@@ -563,14 +563,22 @@
         case EBFONT:
             return "EBFONT";
 #endif
+#ifdef ENOSTR
         case ENOSTR:
             return "ENOSTR";
+#endif
+#ifdef ENODATA
         case ENODATA:
             return "ENODATA";
+#endif
+#if defined(ETIME) && (!defined(ETIMEDOUT) || ETIME != ETIMEDOUT)
         case ETIME:
             return "ETIME";
+#endif
+#ifdef ENOSR
         case ENOSR:
             return "ENOSR";
+#endif
 #ifdef ENONET
         case ENONET:
             return "ENONET";