diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-04-16 23:10:26 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-04-16 23:10:26 +0200 |
commit | 53a07a6d287ecdd3a9831dd3778676edf6ee8a9e (patch) | |
tree | 91ae5cceb6f71a567d8ae6dea889c7a94f7f9a1b | |
parent | 0c081c63de28e694eeaeee613e7bfa17bee81bc7 (diff) | |
download | libsigrokdecode-53a07a6d287ecdd3a9831dd3778676edf6ee8a9e.tar.gz libsigrokdecode-53a07a6d287ecdd3a9831dd3778676edf6ee8a9e.zip |
srd: Quickfix for MinGW build issue.
-rw-r--r-- | controller.c | 3 | ||||
-rw-r--r-- | module_sigrokdecode.c | 3 |
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; |