sas             Wed Mar  7 13:05:44 2001 EDT

  Modified files:              
    /php4/ext/ircg      ircg.c 
  Log:
  D'oh. Check IRCG_API_VERSION after including if_irc.h.
  
  
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.47 php4/ext/ircg/ircg.c:1.48
--- php4/ext/ircg/ircg.c:1.47   Wed Mar  7 12:49:01 2001
+++ php4/ext/ircg/ircg.c        Wed Mar  7 13:05:43 2001
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: ircg.c,v 1.47 2001/03/07 20:49:01 sas Exp $ */
+/* $Id: ircg.c,v 1.48 2001/03/07 21:05:43 sas Exp $ */
 
 #include "php.h"
 #include "php_ini.h"
@@ -37,10 +37,6 @@
 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 {
        FMT_MSG_CHAN = 0,
@@ -90,6 +86,10 @@
 
 #include "if_irc.h"
 #include "irc_write_buffer.h"
+
+#if !defined(IRCG_API_VERSION) || IRCG_API_VERSION < 20010303
+# error "Please upgrade to at least IRCG 2.0b1"
+#endif
 
 typedef struct {
        char *fmt_msgs[NO_FMTS];



-- 
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]

Reply via email to