summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--controller.c3
-rw-r--r--module_sigrokdecode.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/controller.c b/controller.c
index 8a01d32..5d19e7a 100644
--- a/controller.c
+++ b/controller.c
@@ -35,7 +35,8 @@ static GSList *callbacks = NULL;
extern SRD_PRIV GSList *pd_list;
/* module_sigrokdecode.c */
-extern SRD_PRIV PyMODINIT_FUNC PyInit_sigrokdecode(void);
+/* FIXME: SRD_PRIV causes issues on MinGW. Investigate. */
+extern PyMODINIT_FUNC PyInit_sigrokdecode(void);
/* type_logic.c */
extern SRD_PRIV PyTypeObject srd_logic_type;
diff --git a/module_sigrokdecode.c b/module_sigrokdecode.c
index 900f7fd..a76645c 100644
--- a/module_sigrokdecode.c
+++ b/module_sigrokdecode.c
@@ -40,7 +40,8 @@ static struct PyModuleDef sigrokdecode_module = {
.m_size = -1,
};
-SRD_PRIV PyMODINIT_FUNC PyInit_sigrokdecode(void)
+/* FIXME: SRD_PRIV causes issues on MinGW. Investigate. */
+PyMODINIT_FUNC PyInit_sigrokdecode(void)
{
PyObject *mod;