X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=missing.h;h=2a93ca74bdac980124e64fe43729071c1df75ef8;hp=23f36fb3c8544d7a9c7929dcbd9d7808e806e985;hb=dd02a78629d39cbe03a47766755ca935f19df98b;hpb=e83a7438dc70ed96630887246a1d3aefcf155b1c diff --git a/missing.h b/missing.h index 23f36fb..2a93ca7 100644 --- a/missing.h +++ b/missing.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2005, Michael Wallner | + | Copyright (c) 2004-2006, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -17,6 +17,10 @@ #include "php_version.h" +#ifndef pemalloc_rel +# define pemalloc_rel(size, persistent) ((persistent)?malloc(size):emalloc_rel(size)) +#endif + #if (PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION == 0) # define WONKY #endif