X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C96413858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=ngvyK8XTw/fNKem8x/QP1ACgxLlJgo75T3hdVsf9gas=; b=q3MI/bu1e5qElTHt1oa06oQNWOI9OD4UoXIxgxunBUYGnV48FzU83co2TPr7sSjNhJ H5mPF2J+UrFUTnromNQsYk4yWFy4VGSUB+Hzbb8RHiCHrf7lWYKNYnYCu+OWosAU9qXo mgPd0+fmCprqzAeWlGt/S/b9tKcQphPzxnK4nlwuQnjmfX8ZGrfDgTnE9DxYK4aqxuN5 sYt+ukGTA7kw7dau+VmkPYOxAFqJruXAbEjzdrI9Xu+0sAMDWqWEvhPj1oHMhoxCGW7a 3cN72MEJTzsZnnKHKisCBfuzu3X8OoB58Ss0DP78KQTgodIBeRUq1GtLEt/Xv5L+SX4c KPjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=ngvyK8XTw/fNKem8x/QP1ACgxLlJgo75T3hdVsf9gas=; b=ym/90q4sP6pWvLAIBkI3DFlJmsFtXKyiSRKqbeSEn32IOSot+qJqleZLElCmROVsW7 FCqja5Bzl4ViONJ2pG8QoQZeGgWLWn/5nlYBYoU/gPjUhgXlFLPEcwJNzJ9xIaMajrjl Ux0aE9Xxd7mhI+29Tpjw0K06WGR1VEQ97DXYBR9IPPM4g1HODadsWciWR8Jy68CWkcHY Nr45Q37lmNBxNNWl5vWNWFwL7UpJgjLAAtcB1Xqr/I38xRnL6z5AwQ6jPw8VlHZr58US HXG8ecSSm6GdgTa1rnou+jQoTom2TVTvyXhs0Rejjyu+9qZZct2XMBs20tfJYaLNr29b JD1g== X-Gm-Message-State: AOAM530JDvJsV+TQlP+ocihTzxQDhA6/R7d/eUawFJsbnQYNsAqw6a2/ lATExElzbyqk6sWHZ/yhsrESqyloQ7o= X-Google-Smtp-Source: ABdhPJzE1QHZNiXAzTUS6IR0kjGaAE0GBufNjoj6HFBCGbzu+1Z964j/fnLFN03IASzdUGl+XZWzpw== X-Received: by 2002:a1c:4b07:: with SMTP id y7mr640427wma.188.1639505731765; Tue, 14 Dec 2021 10:15:31 -0800 (PST) Message-ID: Date: Tue, 14 Dec 2021 19:15:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: w32api.h Content-Language: it To: cygwin AT cygwin DOT com References: <023001d7f112$6bfb0fc0$43f12f40$@gmx.com> From: Marco Atzeri In-Reply-To: <023001d7f112$6bfb0fc0$43f12f40$@gmx.com> X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_ASCII_DIVIDERS, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On 14.12.2021 18:45, robhickey AT gmx DOT com wrote: > Hi Cygwin, > > > > I'm compiling a non Cygwin code using ./config, make, make install. > > > > The make output says /include/w32api file or directory not found. probably you can at configure stage set the prefix of include directory as "/usr" > I'm guessing /include is not a standard directory, so I copied the > /usr/include/w32api to /include/w32api/, the warning goes way. a simple link was also probably enough mkdir /include ln -s /usr/include/w32api to /include/w32api but checking the prefix is better. > I also notice that w32api.h defines every version of windows but stops at > windows8. > > #define WindowsVista 0x0600 > > #define Windows7 0x0601 > > #define Windows8 0x0602 > > > Is it permissible to add > > #define windows10 0X0603 what is your scope ? If the original headers are not using that definition adding it make no difference By the way https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-170 reports a different value: ---------------------------------------------------------- #define _WIN32_WINNT_WIN7 0x0601 // Windows 7 #define _WIN32_WINNT_WIN8 0x0602 // Windows 8 #define _WIN32_WINNT_WINBLUE 0x0603 // Windows 8.1 #define _WIN32_WINNT_WINTHRESHOLD 0x0A00 // Windows 10 #define _WIN32_WINNT_WIN10 0x0A00 // Windows 10 ---------------------------------------------------------- Regards Marco -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple