We use in cmake :
if !STATUS! == 0 (
rem Patch apr.hw - _WIN32_WINT to 0x600 series - needed for APR-ICONV build.
perl -pi.bak -e ^" ^
s~(#define _WIN32_WINNT ^)0x05\d\d$~${1}0x0600~; ^
^" include\apr.hw
> Op 16 mei 2026 om 20:08 heeft [email protected] het volgende geschreven:
>
> Author: ivan
> Date: Sat May 16 18:06:53 2026
> New Revision: 1934273
>
> Log:
> Remove reference to apr.hnw and apr.hw from comments in apr.h.in and apr.hwc.
>
> Modified:
> apr/apr/trunk/include/apr.h.in
> apr/apr/trunk/include/apr.hwc
>
> Modified: apr/apr/trunk/include/apr.h.in
> ==============================================================================
> --- apr/apr/trunk/include/apr.h.in Sat May 16 18:05:19 2026 (r1934272)
> +++ apr/apr/trunk/include/apr.h.in Sat May 16 18:06:53 2026 (r1934273)
> @@ -22,15 +22,14 @@
> *
> * You must modify apr.h.in instead.
> *
> - * And please, make an effort to stub apr.hw and apr.hnw in the process.
> + * And please, make an effort to stub apr.hwc in the process.
> */
>
> /**
> * @file apr.h
> * @brief APR Platform Definitions
> * @remark This is a generated header generated from include/apr.h.in by
> - * ./configure, or copied from include/apr.hw or include/apr.hnw
> - * for Win32 or Netware by those build environments, respectively.
> + * ./configure.
> */
>
> /**
>
> Modified: apr/apr/trunk/include/apr.hwc
> ==============================================================================
> --- apr/apr/trunk/include/apr.hwc Sat May 16 18:05:19 2026 (r1934272)
> +++ apr/apr/trunk/include/apr.hwc Sat May 16 18:06:53 2026 (r1934273)
> @@ -22,18 +22,14 @@
> *
> * You must modify apr.hwc instead.
> *
> - * And please, make an effort to stub apr.hnw and apr.h.in in the process.
> - *
> - * This is the Win32 specific version of apr.h. It is copied from
> - * apr.hw by the apr.dsp and libapr.dsp projects.
> + * And please, make an effort to stub apr.h.in in the process.
> */
>
> /**
> * @file apr.h
> * @brief APR Platform Definitions
> - * @remark This is a generated header generated from include/apr.h.in by
> - * ./configure, or copied from include/apr.hw or include/apr.hnw
> - * for Win32 or Netware by those build environments, respectively.
> + * @remark This is a generated header generated from include/apr.hwc by
> + * CMake.
> */
>
> /* Make sure we have our platform identifier macro defined we ask for later.
> @@ -64,14 +60,6 @@
> #endif
>
> /**
> - * @file apr.h
> - * @brief APR Platform Definitions
> - * @remark This is a generated header generated from include/apr.h.in by
> - * ./configure, or copied from include/apr.hw or include/apr.hnw
> - * for Win32 or Netware by those build environments, respectively.
> - */
> -
> -/**
> * @defgroup APR Apache Portability Runtime library
> * @{
> */
>