summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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