Skip to content

Define LONG64 if __SIZEOF_LONG__ indicates 64-bit long

Alexander Richardson requested to merge arichardson/xorgproto:fix-riscv64 into master

All modern compilers (GCC>=4.6, Clang>=3.0) define this macro, so we can use it to detect 64-bit longs without adding to the architecture list.

This change allows me to successfully run a simple X11 window on a 64-bit FreeBSD RISC-V QEMU VM via SSH forwarding. Without this change I get an error that DISPLAY cannot be opened.

Signed-off-by: Alex Richardson Alexander.Richardson@cl.cam.ac.uk

Merge request reports

Loading