Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2119 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61135 invoked from network); 1 Jun 2003 07:21:50 -0000 Received: from unknown (HELO blacksheep.csh.rit.edu) (129.21.60.6) by pb1.pair.com with SMTP; 1 Jun 2003 07:21:50 -0000 Received: from fury.csh.rit.edu (fury.csh.rit.edu [2001:470:1f00:135:a00:20ff:fe8d:5399]) by blacksheep.csh.rit.edu (Postfix) with ESMTP id 70F00322 for ; Sun, 1 Jun 2003 03:21:50 -0400 (EDT) Received: by fury.csh.rit.edu (Postfix, from userid 37404) id 2ED151260; Sun, 1 Jun 2003 03:21:50 -0400 (EDT) Date: Sun, 1 Jun 2003 03:21:49 -0400 To: internals@lists.php.net Message-ID: <20030601072148.GA10128@csh.rit.edu> Mail-Followup-To: internals@lists.php.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline User-Agent: Mutt/1.5.3i Subject: bindlib_w32 fix for Visual Studio .NET (resend) From: jon@php.net (Jon Parise) --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline My previous message was missing the attachments. -- Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/) --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 (jon@php.net) :: The PHP Project (http://www.php.net/) --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="nsap_addr.diff" 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; --2oS5YaxWCcQjTEyO--