- use const php_hash_ops*
[m6w6/ext-http] / missing.h
index 23f36fb3c8544d7a9c7929dcbd9d7808e806e985..2a93ca74bdac980124e64fe43729071c1df75ef8 100644 (file)
--- 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 <mike@php.net>            |
+    | Copyright (c) 2004-2006, Michael Wallner <mike@php.net>            |
     +--------------------------------------------------------------------+
 */
 
 
 #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