summaryrefslogtreecommitdiff
path: root/sal/osl/unx/system.hxx
AgeCommit message (Collapse)AuthorFilesLines
2019-03-27Replace gethostbyname_r with getaddrinfoArkadiy Illarionov1-2/+0
The gethostbyname*() functions are obsolete. Change-Id: I14a55eba3f111a3280f23955ffd86843079c7e75 Reviewed-on: https://gerrit.libreoffice.org/69337 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-11-01Fix build on HaikuKacper Kasper1-2/+0
Change-Id: I4a21258c2405bd6e5c539ec0206e28a316c6ce13 Reviewed-on: https://gerrit.libreoffice.org/60835 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-05Make LibreOffice buildable on Haiku.Kacper Kasper1-1/+34
* Obviously VCL wiring is missing, but most components do build. Change-Id: Ie853ada1423a8f4c2b647be59cd47a7730c42978 Reviewed-on: https://gerrit.libreoffice.org/50293 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2017-04-20Simplify PTHREAD_VALUEStephan Bergmann1-6/+0
The distinction between MACOSX and other had been introduced with ed8110e101db5a8ea4dde43a3ec38fe40e6fe7e2 "Avoid reinterpret_cast to same type" to work around a GCC 4.6 bug that is fixed since GCC 4.7. Change-Id: I7948721d311de2622c1e08e2ee17b5ccc304b51b
2017-04-20Avoid loplugin:redundantcast on macOSStephan Bergmann1-1/+1
Change-Id: I5e9f2552f83e72d1f6eb1a12df19c0fdfa012e31
2017-02-21Kill bitrot Emscripten experimentKhaled Hosny1-3/+2
Change-Id: I1cd5331157e684afb01e6555168ce646194c6ff2 Reviewed-on: https://gerrit.libreoffice.org/34493 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2017-01-17replace #ifdef SOLARIS with #ifdef __sunMichael Stahl1-3/+3
Check for a macro that is defined by the compiler, we don't really need one defined by the build system. Change-Id: Iccb8e3198396881395c97a6b81690ebe64b7e9d2
2016-11-02loplugin:unusedfieldsNoel Grandin1-7/+0
Change-Id: I96634c18ba6600f8f7d5d04a162dcd7e1e312923 Reviewed-on: https://gerrit.libreoffice.org/30474 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-04-22Is __OPENTRANSPORTPROVIDERS__ (still) neededStephan Bergmann1-1/+0
...to be set before including Carbon/Carbon.h? Was originally introduced with c34f2e30bbad1a6b92308d0daabe413bd1bc161b "INTEGRATION: CWS pj51: #i61959# patch applied", but might just be cargo cult these days. Change-Id: I20cdc938d28e075614f6711a06ab785700833aff Reviewed-on: https://gerrit.libreoffice.org/24293 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann1-4/+4
Change-Id: I1bc6c87fcd6e5e96362623be94c59be216a3b2b8
2015-10-05Emscripten: First steps of porting to EmscriptenSamuel Mehrbrodt1-2/+3
See https://wiki.documentfoundation.org/Development/Emscripten for details Change-Id: I977a8b9e98b9be13c263fef48f567b92347d0492 Reviewed-on: https://gerrit.libreoffice.org/18643 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-11Useless cargo cult?Stephan Bergmann1-34/+0
Change-Id: I0bb5582a6aef51ac65466531115d67c6dbad1fcd Reviewed-on: https://gerrit.libreoffice.org/18493 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-08-18no need for pre/postmac in osl/unx/system.hNorbert Thiebaud1-3/+0
Change-Id: Id96cc357ae4d8d064bb297a17d9033ffe8643df3 Reviewed-on: https://gerrit.libreoffice.org/17821 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-01-21Avoid reinterpret_cast to same typeStephan Bergmann1-2/+5
...as GCC 4.6 reports "error: invalid cast from type 'pthread_t {aka long unsigned int}' to type 'long unsigned int'" despite [expr.reinterpret.cast]/2: "An expression of integral, enumeration, pointer, or pointer-to-member type can be explicitly converted to its own type; such a cast yields the value of its operand." Change-Id: I26f1a3e6df2f0e55c665ad4f49185e0ebf432e95
2014-11-19system.h -> system.hxxStephan Bergmann1-0/+403
Change-Id: I39a60d0b775bfe40fa89e8b5d5f7466d0db5d36e