Message92

Author admin
Recipients
Date 2016-07-19.20:52:53
Content
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2016-07-19.18:52:53]

Hello,

I thank you for your efforts to package Orthanc 1.1.0 for QNAP. Unfortunately, I don't have access to a QNAP system, so I won't be able to fix this issue by myself.

The file to be patched to have access to `le32toh()` and `le16toh()` is: https://hg.orthanc-server.com/orthanc/file/default/Core/Endianness.h

As QNAP seems to be built on the top of Linux, it is presumably sufficient to replace:
```
#!c++

#if defined(__linux__)
```
at the top of file by something looking as:
```
#!c++

#if defined(__linux__) || defined(__qnap__)
```

However, I cannot tell by myself whether the predefined macro to identify QNAP systems is actually `__qnap__`. Please let me know, I will fix the code thereafter.
History
Date User Action Args
2026-07-29 15:51:19adminlinkissue22 messages
2026-07-29 15:51:18admincreate