X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcm.h;h=3b35c7629547c70a4e09e148e47e3138c052e399;hb=331fc5679566381e5e7c90f144e5bc6ada69809c;hp=c5ae0c6f0534fdc0b27439404ed331607990b238;hpb=96daecd80efad4dcd0af9e353c1814b6f8838bf0;p=gdcm.git diff --git a/src/gdcm.h b/src/gdcm.h index c5ae0c6f..3b35c762 100644 --- a/src/gdcm.h +++ b/src/gdcm.h @@ -28,15 +28,19 @@ // 3/ Make sure we can setup some default size value, // which should be around 4500 entries which is the // average dictionary size (said JPR) + +#define g_malloc malloc +#define g_free free + #ifdef __GNUC__ #include #define guint16 uint16_t #define guint32 uint32_t -#define g_malloc malloc -#define g_free free #endif -#ifdef _MSC_VER -#include +#ifdef _MSC_VER +typedef unsigned short guint16; +typedef unsigned int guint32; + #endif #ifdef _MSC_VER