0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-14 01:37:56 +08:00

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
This commit is contained in:
Luca Boccassi 2017-10-17 13:36:34 +01:00
parent 2e2c22dd5b
commit bd2ff7fbf8

View File

@ -27,6 +27,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define __STDC_LIMIT_MACROS // to define SIZE_MAX with older compilers
#include "testutil.hpp"
void handler (int timer_id, void* arg)