X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmopenjpeg%2Flibopenjpeg%2Fopj_includes.h;h=13240323cc9f30901c5005acf3d5fcba9f0ef2fd;hb=bd7bec4c367d671a9da358584e98a8ec29bb641e;hp=565131eebaa48476a29ad1c9940940d7010b31b0;hpb=62ba44019992fac89cad65f7756f8ad13972c23c;p=gdcm.git diff --git a/src/gdcmopenjpeg/libopenjpeg/opj_includes.h b/src/gdcmopenjpeg/libopenjpeg/opj_includes.h index 565131ee..13240323 100644 --- a/src/gdcmopenjpeg/libopenjpeg/opj_includes.h +++ b/src/gdcmopenjpeg/libopenjpeg/opj_includes.h @@ -54,6 +54,23 @@ ========================================================== */ +/* +The inline keyword is supported by C99 but not by C90. +Most compilers implement their own version of this keyword ... +*/ +#ifndef INLINE + #if defined(_MSC_VER) + #define INLINE __inline + #elif defined(__GNUC__) + #define INLINE __inline__ + #elif defined(__MWERKS__) + #define INLINE inline + #else + /* add other compilers here ... */ + #define INLINE + #endif /* defined() */ +#endif /* INLINE */ + #include "j2k_lib.h" #include "event.h" #include "cio.h"