diff options
author | Matias Elo <matias.elo@nokia.com> | 2021-10-12 12:21:22 +0300 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2021-10-21 10:53:20 +0300 |
commit | 28912cee034067ad15914a0caec3e3067b04284e (patch) | |
tree | 5602873970f47aaac56331b69a6a7a0f93a386be /platform/linux-generic/include/odp_llqueue.h | |
parent | 42d0383b7346b787995275d67b469135489add15 (diff) |
linux-gen: fix unsupported types build errors
Fix "ISO C does not support '__int128' types" errors when building with
'pedantic' option.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'platform/linux-generic/include/odp_llqueue.h')
-rw-r--r-- | platform/linux-generic/include/odp_llqueue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux-generic/include/odp_llqueue.h b/platform/linux-generic/include/odp_llqueue.h index cc4b84ecd..e9cf9945e 100644 --- a/platform/linux-generic/include/odp_llqueue.h +++ b/platform/linux-generic/include/odp_llqueue.h @@ -49,7 +49,7 @@ static odp_bool_t llq_on_queue(struct llnode *node); typedef uint64_t dintptr_t; #endif #if __SIZEOF_PTRDIFF_T__ == 8 -typedef __int128 dintptr_t; +__extension__ typedef __int128 dintptr_t; #endif struct llnode { |