From 5cc36779f46c57f654b3c24f20129da7e1095b78 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 18 Jun 2021 07:00:01 +0000 Subject: config: defined PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT in pyconfig.h. --- config/linux/pyconfig.h | 4 ++++ config/midipix/pyconfig.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/config/linux/pyconfig.h b/config/linux/pyconfig.h index 6626449..9fbd312 100644 --- a/config/linux/pyconfig.h +++ b/config/linux/pyconfig.h @@ -37,4 +37,8 @@ #define SIZEOF_PID_T __SIZEOF_INT__ #endif +#ifndef PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT +#define PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT 1 +#endif + #endif diff --git a/config/midipix/pyconfig.h b/config/midipix/pyconfig.h index 076ba74..5e87863 100644 --- a/config/midipix/pyconfig.h +++ b/config/midipix/pyconfig.h @@ -36,4 +36,8 @@ #define SIZEOF_PID_T __SIZEOF_INT__ #endif +#ifndef PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT +#define PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT 1 +#endif + #endif -- cgit v1.2.3