From eb445425ff4559070328410574b135dcda4a96e3 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 12 Aug 2019 23:52:10 +0200 Subject: [PATCH] Do not define SIZE_T_MAX if already defined --- src/nlist.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nlist.c b/src/nlist.c index 228c220..d22fa19 100644 --- a/src/nlist.c +++ b/src/nlist.c @@ -43,7 +43,9 @@ #include "local-elf.h" +#ifndef SIZE_T_MAX #define SIZE_T_MAX 0xffffffffU +#endif /* Note: This function is used by libkvm0, so we need to export it. * It is not declared in the include files though. */