Skip to content
Commit acaf48b9 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Tom Tromey
Browse files

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: default avatarTom Tromey <tom@tromey.com>
parent 9bec569f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment