Return-Path: X-Original-To: apmail-qpid-commits-archive@www.apache.org Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F3BA2F56D for ; Thu, 2 May 2013 15:57:48 +0000 (UTC) Received: (qmail 73403 invoked by uid 500); 2 May 2013 15:57:48 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 73382 invoked by uid 500); 2 May 2013 15:57:48 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 73375 invoked by uid 99); 2 May 2013 15:57:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 May 2013 15:57:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 May 2013 15:57:46 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 999172388A2C; Thu, 2 May 2013 15:57:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1478421 - /qpid/branches/0.22/qpid/cpp/src/qpid/sys/regex.h Date: Thu, 02 May 2013 15:57:25 -0000 To: commits@qpid.apache.org From: astitcher@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130502155725.999172388A2C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: astitcher Date: Thu May 2 15:57:24 2013 New Revision: 1478421 URL: http://svn.apache.org/r1478421 Log: QPID-4793: Change test so that regex.h works on other unixes Change brought in from trunk r1477822 Modified: qpid/branches/0.22/qpid/cpp/src/qpid/sys/regex.h Modified: qpid/branches/0.22/qpid/cpp/src/qpid/sys/regex.h URL: http://svn.apache.org/viewvc/qpid/branches/0.22/qpid/cpp/src/qpid/sys/regex.h?rev=1478421&r1=1478420&r2=1478421&view=diff ============================================================================== --- qpid/branches/0.22/qpid/cpp/src/qpid/sys/regex.h (original) +++ qpid/branches/0.22/qpid/cpp/src/qpid/sys/regex.h Thu May 2 15:57:24 2013 @@ -19,7 +19,7 @@ * */ -#ifdef _POSIX_SOURCE +#if defined(_POSIX_SOURCE) || defined(__unix__) # include # include # include @@ -38,7 +38,7 @@ namespace qpid { namespace sys { -#ifdef _POSIX_SOURCE +#if defined(_POSIX_SOURCE) || defined(__unix__) class regex { ::regex_t re; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org