This has some issues. Please give me a minute.

On Sat, Mar 9, 2019 at 9:16 AM James R Larrowe <[email protected]>
wrote:

> Undefine HAVE_GETPAGESIZE,
>  and use normal behavior on Cygwin.
>
> Signed-off-by: James R Larrowe <[email protected]>
> ---
>  src/OS.c | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/src/OS.c b/src/OS.c
> index 4c69005..c1337f6 100644
> --- a/src/OS.c
> +++ b/src/OS.c
> @@ -17,6 +17,11 @@
>  #define HAS_SC_PAGESIZE        /* _SC_PAGESIZE may be an enum for Linux */
>  #endif
>
> +#if defined(_WIN32) && !defined(__CYGWIN__)
> +# include <ddk/wdm.h>
> +# undef HAVE_GETPAGESIZE
> +#endif
> +
>  int
>  _XawGetPageSize(void)
>  {
> --
> 2.11.0
>
>
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to