summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-06-15 14:25:01 +0100
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-06-15 14:25:01 +0100
commita0ed054ee2c334941dfe9eaa7bcfdbbe6907e1b5 (patch)
tree53f0410f0f05a239358df702db257348dae85b7d /scripts
parent9cd746bd0d5c23f0929342cb3cbe17f0c8407d37 (diff)
Define LONG64 if __SIZEOF_LONG__ indicates 64-bit long
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions