My previous message was missing the attachments.

-- 
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
I ran into a problem when building bindlib_w32 using Visual Studio
.NEt under Windows XP:

nsap_addr.c(38) : error C2491: 'isxdigit' : definition of dllimport function not 
allowed

The attached patch corrects this problem.  I don't have commit
privileges for the bindlib_w32 module, so if someone could either
grant me karma or commit this for me, I'd appreciate it.

-- 
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
Index: nsap_addr.c
===================================================================
RCS file: /repository/bindlib_w32/nsap_addr.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 nsap_addr.c
--- nsap_addr.c 26 Apr 1999 14:02:36 -0000      1.1.1.1
+++ nsap_addr.c 22 Feb 2003 20:54:56 -0000
@@ -31,7 +31,8 @@
 
 #include "conf/portability.h"
 
-#if !defined(isxdigit) /* XXX - could be a function */
+/* XXX - isxdigit could be an existing function or macro */
+#if !defined(isxdigit) && !defined(_CTYPE_DEFINED)
 static int
 isxdigit(c)
        register int c;


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to