From: Razvan Deaconescu Date: Wed, 9 Nov 2022 07:04:54 +0000 (+0200) Subject: include/pyconfig.h: Use value 8 for SIZEOF_PTHREAD_T X-Git-Tag: RELEASE-0.11.0~2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=07a273d7457e2fe0364448def4d35112ccfd7eb9;p=unikraft%2Flibs%2Fpython3.git include/pyconfig.h: Use value 8 for SIZEOF_PTHREAD_T This is the value used by Musl (`sizoef(pthread_t)`), as `pthread_t` is defined as `unsigned long`. Signed-off-by: Razvan Deaconescu Reviewed-by: Stefan Jumarea Approved-by: Cezar Craciunoiu Tested-by: Unikraft CI GitHub-Pull-Request-Closes: #9 --- diff --git a/include/pyconfig.h b/include/pyconfig.h index b9283bc..201d7af 100644 --- a/include/pyconfig.h +++ b/include/pyconfig.h @@ -1381,7 +1381,7 @@ #define SIZEOF_PTHREAD_KEY_T 4 /* The size of `pthread_t', as computed by sizeof. */ -#define SIZEOF_PTHREAD_T 16 +#define SIZEOF_PTHREAD_T 8 /* The size of `short', as computed by sizeof. */ #define SIZEOF_SHORT 2