commit da13e1e768fe9a667bb2eb75afe0e3ce37a47b7c
parent ef441fb9a144a6ee783ea50d94c3523cbf9dd197
Author: Joris Vink <joris@coders.se>
Date: Wed, 25 Jan 2017 22:41:57 +0100
undef _POSIX_C_SOURCE and _XOPEN_SOURCE before Python.h
Diffstat:
includes/python_api.h | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/includes/python_api.h b/includes/python_api.h
@@ -18,6 +18,9 @@
#ifndef __H_PYTHON_H
#define __H_PYTHON_H
+#undef _POSIX_C_SOURCE
+#undef _XOPEN_SOURCE
+
#include <Python.h>
void kore_python_init(void);