skettler Wed Oct 26 18:49:24 2005 EDT
Removed files:
/pecl/crack/libcrack/src config.h
Modified files:
/pecl/crack/libcrack/src cracklib.h
Log:
- Fixed bug #5763 (Statically compiling crack extension fails with error)
http://cvs.php.net/diff.php/pecl/crack/libcrack/src/cracklib.h?r1=1.1&r2=1.2&ty=u
Index: pecl/crack/libcrack/src/cracklib.h
diff -u pecl/crack/libcrack/src/cracklib.h:1.1
pecl/crack/libcrack/src/cracklib.h:1.2
--- pecl/crack/libcrack/src/cracklib.h:1.1 Mon Sep 5 08:27:13 2005
+++ pecl/crack/libcrack/src/cracklib.h Wed Oct 26 18:49:22 2005
@@ -27,18 +27,16 @@
# include "config.h"
#endif
-#if HAVE_CRACK_BUNDLED || defined(WIN32)
+#if defined(IN_CRACKLIB)
+# define MALLOC(x) (malloc(x))
+# define FREE(x) (free(x))
+#else
# include "php.h"
# include "php_ini.h"
# include "ext/standard/info.h"
# include "../../php_crack.h"
# define MALLOC(x) (emalloc(x))
# define FREE(x) (efree(x))
-#elif defined(IN_CRACKLIB)
-# define MALLOC(x) (malloc(x))
-# define FREE(x) (free(x))
-#else
-# error not available yet
#endif
#define STRINGSIZE 1024
|