From: malaterre Date: Tue, 5 Jul 2005 23:39:06 +0000 (+0000) Subject: ENH: Now any new compiler should be supported (not only bcc32) X-Git-Tag: Version1.2.bp~363 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=0f683a63c5ba0c53a1077a6a61e8aa4b36c88d2b;p=gdcm.git ENH: Now any new compiler should be supported (not only bcc32) --- diff --git a/src/gdcmjasper/src/libjasper/base/jas_malloc.c b/src/gdcmjasper/src/libjasper/base/jas_malloc.c index cc8fef8c..e1f99e23 100644 --- a/src/gdcmjasper/src/libjasper/base/jas_malloc.c +++ b/src/gdcmjasper/src/libjasper/base/jas_malloc.c @@ -64,7 +64,7 @@ /* * Memory Allocator * - * $Id: jas_malloc.c,v 1.2 2005/07/05 23:05:31 malaterre Exp $ + * $Id: jas_malloc.c,v 1.3 2005/07/05 23:39:06 malaterre Exp $ */ /******************************************************************************\ @@ -90,7 +90,7 @@ void *jas_malloc(size_t size) { -#ifdef __BORLANDC__ +#ifdef NULL_ON_MALLOC_0 // Apparently jasper does not take into account POSIX: // http://www.opengroup.org/onlinepubs/007908799/xsh/malloc.html // If the size of the space requested is 0, the behaviour is implementation-dependent;