Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C7432200B68 for ; Fri, 19 Aug 2016 18:31:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C5CFC160AAB; Fri, 19 Aug 2016 16:31:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1BF1B160A79 for ; Fri, 19 Aug 2016 18:31:08 +0200 (CEST) Received: (qmail 26278 invoked by uid 500); 19 Aug 2016 16:31:08 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 26269 invoked by uid 99); 19 Aug 2016 16:31:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2016 16:31:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E3233C27AA for ; Fri, 19 Aug 2016 16:31:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.481 X-Spam-Level: X-Spam-Status: No, score=0.481 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.519] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id RvC100x-JE5A for ; Fri, 19 Aug 2016 16:31:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTP id C97B95F30E for ; Fri, 19 Aug 2016 16:31:06 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E0FD1E047B for ; Fri, 19 Aug 2016 16:31:05 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id DB2F83A0319 for ; Fri, 19 Aug 2016 16:31:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1756934 - /httpd/httpd/trunk/server/gen_test_char.c Date: Fri, 19 Aug 2016 16:31:05 -0000 To: cvs@httpd.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160819163105.DB2F83A0319@svn01-us-west.apache.org> archived-at: Fri, 19 Aug 2016 16:31:10 -0000 Author: wrowe Date: Fri Aug 19 16:31:05 2016 New Revision: 1756934 URL: http://svn.apache.org/viewvc?rev=1756934&view=rev Log: Resolve Netware (and other arch) build error for non-portable isascii() Modified: httpd/httpd/trunk/server/gen_test_char.c Modified: httpd/httpd/trunk/server/gen_test_char.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/gen_test_char.c?rev=1756934&r1=1756933&r2=1756934&view=diff ============================================================================== --- httpd/httpd/trunk/server/gen_test_char.c (original) +++ httpd/httpd/trunk/server/gen_test_char.c Fri Aug 19 16:31:05 2016 @@ -20,7 +20,11 @@ #define apr_isalpha(c) (isalpha(((unsigned char)(c)))) #define apr_iscntrl(c) (iscntrl(((unsigned char)(c)))) #define apr_isprint(c) (isprint(((unsigned char)(c)))) +#ifdef isascii #define apr_isascii(c) (isascii(((unsigned char)(c)))) +#else +#define apr_isascii(c) (((c) & ~0x7f)==0) +#endif #include #define APR_HAVE_STDIO_H 1 #define APR_HAVE_STRING_H 1