]> granicus.if.org Git - php/commitdiff
fix for #1947
authorThies C. Arntzen <thies@php.net>
Fri, 6 Aug 1999 08:56:15 +0000 (08:56 +0000)
committerThies C. Arntzen <thies@php.net>
Fri, 6 Aug 1999 08:56:15 +0000 (08:56 +0000)
ext/standard/basic_functions.c

index 9793ae1cebd6ad419b25c5709c9efe681a463b13..25a923e93a9afa3cbe6622bb5a3226a9d9933e46 100644 (file)
 #include "php_globals.h"
 #include "SAPI.h"
 
+#if APACHE 
+/* 
+       ap_compat.h does a 
+       #define md5 ap_md5
+       which "kills" out md5 function.
+*/
+#ifdef md5
+#undef md5
+#endif
+#endif
+
 static unsigned char second_and_third_args_force_ref[] = { 3, BYREF_NONE, BYREF_FORCE, BYREF_FORCE };
 static unsigned char third_and_fourth_args_force_ref[] = { 4, BYREF_NONE, BYREF_NONE, BYREF_FORCE, BYREF_FORCE };
 static pval *user_compare_func_name;