diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2020-08-01 19:56:34 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-08-02 08:19:35 +0200 |
commit | 977e19840d085d09ed454ca8aae1b62b9351034a (patch) | |
tree | de4e48991bc8030dc6d550830b6e70877a8c7201 /THANKS | |
parent | d975c2f76e6931d9abc8c63a26110a22f8c0294c (diff) | |
download | bison-977e19840d085d09ed454ca8aae1b62b9351034a.tar.gz |
portability: beware of max () with MSVC
Reported by Maarten De Braekeleer.
https://lists.gnu.org/r/bison-patches/2020-07/msg00080.html
We don't want to use gnulib's min and max macros, since we use
function calls in min/max arguments.
* src/location.c (max_int, min_int): Move to...
* src/system.h: here.
* src/counterexample.c, src/derivation.c: Use max_int instead of max.
Diffstat (limited to 'THANKS')
0 files changed, 0 insertions, 0 deletions