diff options
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-src/goo/gmem.h')
-rw-r--r-- | Build/source/libs/xpdf/xpdf-src/goo/gmem.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/libs/xpdf/xpdf-src/goo/gmem.h b/Build/source/libs/xpdf/xpdf-src/goo/gmem.h index bfa9658e451..e836e2dd6e8 100644 --- a/Build/source/libs/xpdf/xpdf-src/goo/gmem.h +++ b/Build/source/libs/xpdf/xpdf-src/goo/gmem.h @@ -36,7 +36,11 @@ extern "C" { * Same as malloc, but prints error message and exits if malloc() * returns NULL. */ +#ifdef DEBUG_MEM +extern void *gmalloc(int size, int ignore = 0) GMEM_EXCEP; +#else extern void *gmalloc(int size) GMEM_EXCEP; +#endif /* * Same as realloc, but prints error message and exits if realloc() |