summaryrefslogtreecommitdiff
path: root/bootstrap.conf
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-03-06 12:50:15 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2023-03-06 15:19:55 -0600
commit5848bf3a3ee43a8be529d5d8bcef7a80c1ef3934 (patch)
tree5f7c5b1c8ae31f8d4b53bd8ef79cbe285d19b162 /bootstrap.conf
parent405fe32847a598962dc3ad8469b9ed0bac4c50ba (diff)
downloadgroff-git-5848bf3a3ee43a8be529d5d8bcef7a80c1ef3934.tar.gz
Use a better type for symbol hashes.
* bootstrap.conf: Add "stdint" module to ensure that the `uintptr_t` type is available. * src/include/symbol.h: Include <stdint.h> for `uintptr_t`. (class symbol): (symbol::hash): Change return type from `unsigned long`, which causes build failures on 64-bit MinGW, to `uintptr_t`. (symbol::hash): Use a C++ type cast, not a C-style one. Thanks to Bruno Haible for reporting the build failure in the 64-bit MinGW environment, and for suggesting a remedy. Also update editor aid comments; drop old style Emacs file-local variable setting. Any day you get to use the foot-Howitzer reinterpret_cast is a good one. Commits since 0221b657fe tested on: Debian bullseye Debian sid 2023-03-06 chroot macOS 12 OpenBSD 7.2 Solaris 10 Solaris 11
Diffstat (limited to 'bootstrap.conf')
-rw-r--r--bootstrap.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
index 379a73ea3..48a27dcbc 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -43,6 +43,7 @@ gnulib_modules="
snprintf
vsnprintf
stdbool-c99
+ stdint
"
# Name of the Makefile.am