<div dir="ltr">This has some issues. Please give me a minute.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 9, 2019 at 9:16 AM James R Larrowe <<a href="mailto:larrowe.semaj11@gmail.com">larrowe.semaj11@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Undefine HAVE_GETPAGESIZE,<br>
and use normal behavior on Cygwin.<br>
<br>
Signed-off-by: James R Larrowe <<a href="mailto:larrowe.semaj11@gmail.com" target="_blank">larrowe.semaj11@gmail.com</a>><br>
---<br>
src/OS.c | 5 +++++<br>
1 file changed, 5 insertions(+)<br>
<br>
diff --git a/src/OS.c b/src/OS.c<br>
index 4c69005..c1337f6 100644<br>
--- a/src/OS.c<br>
+++ b/src/OS.c<br>
@@ -17,6 +17,11 @@<br>
#define HAS_SC_PAGESIZE /* _SC_PAGESIZE may be an enum for Linux */<br>
#endif<br>
<br>
+#if defined(_WIN32) && !defined(__CYGWIN__)<br>
+# include <ddk/wdm.h><br>
+# undef HAVE_GETPAGESIZE<br>
+#endif<br>
+<br>
int<br>
_XawGetPageSize(void)<br>
{<br>
-- <br>
2.11.0<br>
<br>
</blockquote></div>