sas Wed Mar 7 12:15:34 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
There are some subtle changes which are not recognized by the compiler,
so bark, if someone tries to build against anything older than IRCG 2.0b1.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.43 php4/ext/ircg/ircg.c:1.44
--- php4/ext/ircg/ircg.c:1.43 Sat Mar 3 13:22:12 2001
+++ php4/ext/ircg/ircg.c Wed Mar 7 12:15:33 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ircg.c,v 1.43 2001/03/03 21:22:12 sas Exp $ */
+/* $Id: ircg.c,v 1.44 2001/03/07 20:15:33 sas Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -36,6 +36,10 @@
static HashTable h_irconn; /* Integer IDs to php_irconn_t * */
static HashTable h_fmt_msgs; /* Integer IDs to php_fmt_msgs_t * */
static int irconn_id = 1;
+
+#if !defined(IRCG_API_VERSION) || IRCG_API_VERSION < 20010303
+# error "Please upgrade to at least IRCG 2.0b1"
+#endif
/* Format string numbers */
enum {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]