Revert "Re-implement macro to constexpr transition"

This reverts commit 3d8f98c395.

In addition to the issues mentioned on the GitHub page for this commit,
it also broke the CentOS 7 build.

Note one can locally test the CentOS 7 build via:

    ./docker/docker_run_tests.sh ./docker/centos7.Dockerfile
This commit is contained in:
ridiculousfish
2022-09-20 11:58:37 -07:00
parent 4ffcbe3526
commit 5f4583b52d
37 changed files with 116 additions and 115 deletions

View File

@@ -30,7 +30,7 @@
/// Time in milliseconds to wait for another byte to be available for reading
/// after \x1B is read before assuming that escape key was pressed, and not an
/// escape sequence.
constexpr int WAIT_ON_ESCAPE_DEFAULT = 30;
#define WAIT_ON_ESCAPE_DEFAULT 30
static int wait_on_escape_ms = WAIT_ON_ESCAPE_DEFAULT;
input_event_queue_t::input_event_queue_t(int in) : in_(in) {}