Mercurial > hg > orthanc
view OrthancFramework/Resources/Patches/dcmtk-3.6.2-linux-standard-base.patch @ 5160:9f16979b6124
fix osx build
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 02 Feb 2023 12:25:58 +0100 |
parents | d25f4c0fa160 |
children |
line wrap: on
line source
diff -urEb dcmtk-3.6.2.orig/ofstd/include/dcmtk/ofstd/offile.h dcmtk-3.6.2/ofstd/include/dcmtk/ofstd/offile.h --- dcmtk-3.6.2.orig/ofstd/include/dcmtk/ofstd/offile.h 2017-07-14 17:41:11.000000000 +0200 +++ dcmtk-3.6.2/ofstd/include/dcmtk/ofstd/offile.h 2018-01-02 13:56:04.075293459 +0100 @@ -551,7 +551,7 @@ */ void setlinebuf() { -#if defined(_WIN32) || defined(__hpux) +#if defined(_WIN32) || defined(__hpux) || defined(__LSB_VERSION__) this->setvbuf(NULL, _IOLBF, 0); #else :: setlinebuf(file_);