Mercurial > hg > orthanc
diff OrthancServer/DicomProtocol/DicomUserConnection.cpp @ 918:ac8f68cbdbb6 mac
build cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 24 Feb 2014 16:09:06 +0100 |
parents | ef4569ae7952 |
children | 55b945749bed |
line wrap: on
line diff
--- a/OrthancServer/DicomProtocol/DicomUserConnection.cpp Mon Feb 24 15:10:30 2014 +0100 +++ b/OrthancServer/DicomProtocol/DicomUserConnection.cpp Mon Feb 24 16:09:06 2014 +0100 @@ -58,6 +58,11 @@ #endif +#if !defined(HOST_NAME_MAX) && defined(_POSIX_HOST_NAME_MAX) +#define HOST_NAME_MAX _POSIX_HOST_NAME_MAX +#endif + + static const char* DEFAULT_PREFERRED_TRANSFER_SYNTAX = UID_LittleEndianImplicitTransferSyntax; namespace Orthanc