commit | acaf48b921453c37fc2df4151699c912940bcd25 | [log] [tgz] |
---|---|---|
author | Orgad Shaneh <orgads@gmail.com> | Sun Mar 03 12:22:14 2024 +0200 |
committer | Tom Tromey <tromey@adacore.com> | Thu Mar 21 10:46:23 2024 -0600 |
tree | a10889fb5650db2083f4a1e782f5d301f04ad71f | |
parent | 9bec569fda7c76849cf3eb0e4a525f627d25f980 [diff] |
sim/erc32: Rename EVENT_MAX -> MAX_EVENTS EVENT_MAX is defined as 0x7FFFFFFF (INT_MAX) in winuser.h, so when building on Windows, the value is overridden and compilation fails because the array size of evbuf is too large. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28476 Approved-By: Tom Tromey <tom@tromey.com>