Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | From aa6cd19ae428769a38fe7d95f98db0a9c19ae90a Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Mon, 25 Feb 2019 15:14:49 +0800 |
| 4 | Subject: [PATCH 12/24] fix missing ULONG_LONG_MAX definition in case of musl |
| 5 | |
| 6 | Upstream-Status: Inappropriate [musl] |
| 7 | |
| 8 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
| 9 | --- |
| 10 | src/basic/missing_type.h | 4 ++++ |
| 11 | 1 file changed, 4 insertions(+) |
| 12 | |
| 13 | diff --git a/src/basic/missing_type.h b/src/basic/missing_type.h |
| 14 | index 23602eb..7d7c1e4 100644 |
| 15 | --- a/src/basic/missing_type.h |
| 16 | +++ b/src/basic/missing_type.h |
| 17 | @@ -39,3 +39,7 @@ typedef int (*__compar_fn_t)(const void *, const void *); |
| 18 | #ifndef FTW_SKIP_SIBLINGS |
| 19 | #define FTW_SKIP_SIBLINGS 3 |
| 20 | #endif |
| 21 | + |
| 22 | +#ifndef ULONG_LONG_MAX |
| 23 | +#define ULONG_LONG_MAX ULLONG_MAX |
| 24 | +#endif |
| 25 | -- |
| 26 | 2.7.4 |
| 27 | |