bindlib_w32 fix for Visual Studio .NET (resend)
| From: | Jon Parise | Date: | Sun, 01 Jun 2003 07:21:49 +0000 |
| Subject: | bindlib_w32 fix for Visual Studio .NET (resend) | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-2119@lists.php.net to get a copy of this message | ||
My previous message was missing the attachments.
--
Jon Parise (jon@php.net) :: 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;
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;