Return-Path: X-Original-To: apmail-apr-dev-archive@www.apache.org Delivered-To: apmail-apr-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1BBF6101FE for ; Thu, 5 Dec 2013 14:14:36 +0000 (UTC) Received: (qmail 37640 invoked by uid 500); 5 Dec 2013 14:14:32 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 37567 invoked by uid 500); 5 Dec 2013 14:14:32 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 37559 invoked by uid 99); 5 Dec 2013 14:14:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Dec 2013 14:14:31 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bert@qqmail.nl designates 74.125.82.53 as permitted sender) Received: from [74.125.82.53] (HELO mail-wg0-f53.google.com) (74.125.82.53) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Dec 2013 14:14:26 +0000 Received: by mail-wg0-f53.google.com with SMTP id k14so14151142wgh.20 for ; Thu, 05 Dec 2013 06:14:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type:thread-index:content-language; bh=b+xuo1n/fS+t7qKmTlo9/JWy1c9n38m1LblOTGJoq7k=; b=QAUL1IzYkVq6ADS/sYWUa6dctQ2K2PP8ran09KQuMXZ+LOdo8owlAhtCIgjsSSVtXU smLL/n7qtjI2aT8d8tsNjQX1cIiI3dBURq/7MnRv8CenmrFygBzgZLvdhMVAqSAgC87l SOy2Z9TZ1JC6scT62Xo4RqtQ8uaYhzY4LCpHf7q0r1h81mnugIsIkDWipxUhK3aWosUF eO3ewyzr+oHqyreFzJkNQTSk+0eRbzkwzm8nxmO2625Lsw952YoqFNPeFJw5axv6u+Bq ZAAYOUtZC1+YBIHeEQhU6l8ZntlL293I/EyIXonYKrEfd6jTrqit5Hf9kqJ9CMjUCmWU KbtA== X-Gm-Message-State: ALoCoQlEn/IBdz2OrkB8E0BPqHUQSqfll72EFgGjrUaTcoMS+9Hu29v1+D152a/fjgfV9ShDkxS/ X-Received: by 10.194.189.132 with SMTP id gi4mr16391914wjc.5.1386252844375; Thu, 05 Dec 2013 06:14:04 -0800 (PST) Received: from i72600 ([2001:610:66e:0:a1fe:7b28:1850:b511]) by mx.google.com with ESMTPSA id je17sm6673906wic.4.2013.12.05.06.14.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Dec 2013 06:14:03 -0800 (PST) From: "Bert Huijben" To: "'APR Developer List'" Subject: CMake build doesn't define 'WINNT', but apr headers check for it anyway Date: Thu, 5 Dec 2013 15:13:58 +0100 Message-ID: <008e01cef1c4$3e974c70$bbc5e550$@qqmail.nl> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_008F_01CEF1CC.A05E2570" X-Mailer: Microsoft Outlook 15.0 Thread-Index: Ac7xxD1VK89Ue51ZRZ6ih+wQQ9C58w== Content-Language: nl X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. ------=_NextPart_000_008F_01CEF1CC.A05E2570 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, On Windows apr_arch_misc.h checks for the 'WINNT' define, which was unconditionally defined on Windows before the CMake build. But now it is no longer defined. This enables some additional dynamic load operations that could fail in some cases (See "Race condition in APR_DECLARE_LATE_DLL_FUNC() implementation"). We could fix this by defining WINNT, but we might as well just remove the check as we don't support systems older than NT 4.0 anyway.. Bert ------=_NextPart_000_008F_01CEF1CC.A05E2570 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

         &= nbsp;      Hi,

 

On Windows apr_arch_misc.h checks for the = ‘WINNT’ define, which was unconditionally defined on Windows = before the CMake build. But now it is no longer defined. This enables = some additional dynamic load operations that could fail in some cases = (See “Race condition in APR_DECLARE_LATE_DLL_FUNC() = implementation”).

 

We could fix this by defining WINNT, but we might as well = just remove the check as we don’t support systems older than NT = 4.0 anyway..

 

          =       = Bert

------=_NextPart_000_008F_01CEF1CC.A05E2570--