comparison Core/Enumerations.h @ 2487:be1dbb1dcdd6

PixelTraits and ImageTraits
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Mar 2018 16:29:20 +0100
parents ad8f30fc28d1
children 83b8b6743531
comparison
equal deleted inserted replaced
2486:ad8f30fc28d1 2487:be1dbb1dcdd6
32 32
33 33
34 #pragma once 34 #pragma once
35 35
36 #include <string> 36 #include <string>
37
38
39 #if defined(_MSC_VER)
40 # define ORTHANC_FORCE_INLINE __forceinline
41 #elif defined(__GNUC__) || defined(__clang__) || defined(__EMSCRIPTEN__)
42 # define ORTHANC_FORCE_INLINE inline __attribute((always_inline))
43 #else
44 # error Please support your compiler here
45 #endif
46
37 47
38 namespace Orthanc 48 namespace Orthanc
39 { 49 {
40 enum Endianness 50 enum Endianness
41 { 51 {