comparison Core/Endianness.h @ 2407:5edec967055e

fix sandboxed builds
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Sep 2017 17:02:27 +0200
parents a3a65de1840f
children 878b59270859
comparison
equal deleted inserted replaced
2406:f0cfacd0c9b8 2407:5edec967055e
33 33
34 #pragma once 34 #pragma once
35 35
36 36
37 /******************************************************************** 37 /********************************************************************
38 ** LINUX ARCHITECTURES 38 ** LINUX-LIKE ARCHITECTURES
39 ********************************************************************/ 39 ********************************************************************/
40 40
41 #if defined(__linux__) 41 #if defined(__linux__) || defined(__EMSCRIPTEN__)
42 # define ORTHANC_HAS_BUILTIN_BYTE_SWAP 1 42 # define ORTHANC_HAS_BUILTIN_BYTE_SWAP 1
43 # include <endian.h> 43 # include <endian.h>
44 #endif 44 #endif
45 45
46 46