X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmConfigure.h.in;h=816416132434a802ece72e092d83c00e6f9ac2fb;hb=53efc6e2d1d40336dafc5807d1a986b3a8c7cd2b;hp=24294d6c5ba16038f7fa506d04a4ecd43c5b25aa;hpb=5340d1e382a85926f050a0644d8c0d10d25586e2;p=gdcm.git diff --git a/gdcmConfigure.h.in b/gdcmConfigure.h.in index 24294d6c..81641613 100644 --- a/gdcmConfigure.h.in +++ b/gdcmConfigure.h.in @@ -7,7 +7,7 @@ /* Platform Features */ /* Byte order. */ -//#cmakedefine VTK_WORDS_BIGENDIAN +#cmakedefine GDCM_WORDS_BIGENDIAN /* Allow access to UINT32_MAX , cf gdcmCommon.h */ #define __STDC_LIMIT_MACROS @@ -22,19 +22,39 @@ #cmakedefine GDCM_NO_ANSI_STRING_STREAM /* I guess something important */ -#cmakedefine HAVE_NO_STDINT_H +#cmakedefine CMAKE_HAVE_STDINT_H +#cmakedefine CMAKE_HAVE_INTTYPES_H /* This variable allows you to have helpful debug statement */ -/* That are in between #idfef / enif in the gdcm code */ +/* That are in between #ifdef / endif in the gdcm code */ +/* That means if GDCM_DEBUG is OFF there shouldn't be any 'cout' at all ! */ +/* only cerr, for instance 'invalid file' will be allowed */ #cmakedefine GDCM_DEBUG /* Whether we are building shared libraries. */ -/* This is important as long as GDCM is LGPL */ +/* This was important as long as GDCM is LGPL */ #cmakedefine BUILD_SHARED_LIBS +/* GDCM uses __FUNCTION__ which is not ANSI C, but C99 */ +#cmakedefine GDCM_COMPILER_HAS_FUNCTION + + +/* GetMacAddress require a lot of include file to access low level API */ +#cmakedefine CMAKE_HAVE_UNISTD_H +#cmakedefine CMAKE_HAVE_STDLIB_H +#cmakedefine CMAKE_HAVE_SYS_IOCTL_H +#cmakedefine CMAKE_HAVE_SYS_SOCKET_H +#cmakedefine CMAKE_HAVE_SYS_SOCKIO_H +#cmakedefine CMAKE_HAVE_NET_IF_H +#cmakedefine CMAKE_HAVE_NETINET_IN_H +#cmakedefine CMAKE_HAVE_NET_IF_DL_H +#cmakedefine CMAKE_HAVE_NET_IF_ARP_H +#cmakedefine HAVE_SA_LEN + +#cmakedefine GDCM_FORCE_BIGENDIAN_EMULATION /*--------------------------------------------------------------------------*/ -/* GDCM Versioning */ +/* GDCM Versioning */ /* Version number. */ #define GDCM_MAJOR_VERSION @GDCM_MAJOR_VERSION@