Files
MINGW-packages/mingw-w64-recode/04-src-hash-h-php4-collision
2014-01-12 10:03:58 +04:00

20 lines
568 B
Plaintext

From: Steve Langasek
Subject: Prevent collisions with php4
Bug-Debian: http://bugs.debian.org/131080
X-Debian-version: 3.6-6
--- a/src/hash.h
+++ b/src/hash.h
@@ -21,6 +21,11 @@
/* Make sure USE_OBSTACK is defined to 1 if you want the allocator to use
obstacks instead of malloc, and recompile `hash.c' with same setting. */
+#define hash_lookup recode_hash_lookup
+#define hash_delete recode_hash_delete
+#define hash_free recode_hash_free
+#define hash_insert recode_hash_insert
+
#ifndef PARAMS
# if PROTOTYPES || __STDC__
# define PARAMS(Args) Args