]> Creatis software - gdcm.git/blobdiff - gdcmConfigure.h.in
ENH: properly handle compiler that does not have __FUNCTION__
[gdcm.git] / gdcmConfigure.h.in
index 613918b3619fab86749b4c835a5efb3f95ae66fc..3a6f66c47cdae7c0b20c1cd3d0cd58bdfbd87b58 100644 (file)
@@ -7,7 +7,7 @@
 /* Platform Features                                                        */
 
 /* Byte order.  */
-//#cmakedefine GDCM_WORDS_BIGENDIAN
+#cmakedefine GDCM_WORDS_BIGENDIAN
 
 /* Allow access to UINT32_MAX , cf gdcmCommon.h */
 #define __STDC_LIMIT_MACROS
@@ -22,7 +22,7 @@
 #cmakedefine GDCM_NO_ANSI_STRING_STREAM
 
 /* I guess something important */
-#cmakedefine HAVE_NO_STDINT_H 
+#cmakedefine GDCM_HAVE_STDINT_H
 
 /* This variable allows you to have helpful debug statement */
 /* That are in between #ifdef / endif in the gdcm code */
 #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
+
 
 /*--------------------------------------------------------------------------*/
 /* GDCM Versioning                                                          */