summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-18 07:00:01 +0000
committermidipix <writeonce@midipix.org>2021-06-18 07:00:01 +0000
commit5cc36779f46c57f654b3c24f20129da7e1095b78 (patch)
tree1f864020238394ffbbc761e5be51c1bc2bf9a097
parentb84d5a365573138a2f0d9215e5dfb2cb18117c8b (diff)
downloadsbpython3-5cc36779f46c57f654b3c24f20129da7e1095b78.tar.bz2
sbpython3-5cc36779f46c57f654b3c24f20129da7e1095b78.tar.xz
config: defined PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT in pyconfig.h.
-rw-r--r--config/linux/pyconfig.h4
-rw-r--r--config/midipix/pyconfig.h4
2 files changed, 8 insertions, 0 deletions
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