From bd2ff7fbf8cb64cde9144fc068182828b67361d5 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Tue, 17 Oct 2017 13:36:34 +0100 Subject: [PATCH] Problem: DRAFT build broken with old GCC due to missing SIZE_MAX Solution: define __STDC_LIMIT_MACROS in test_timers.cpp before including testutil.hpp so that the definitions are included --- tests/test_timers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_timers.cpp b/tests/test_timers.cpp index 4f7fc3c0..065848ab 100644 --- a/tests/test_timers.cpp +++ b/tests/test_timers.cpp @@ -27,6 +27,7 @@ along with this program. If not, see . */ +#define __STDC_LIMIT_MACROS // to define SIZE_MAX with older compilers #include "testutil.hpp" void handler (int timer_id, void* arg)