diff options
author | cbdev <cb@cbcdn.com> | 2021-06-28 22:30:02 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2021-06-28 22:30:02 +0200 |
commit | 979ca16917cfca16b42f6f0464ff6c5cd41473b1 (patch) | |
tree | 21f26046109ccfcff9a431c111487269e6593495 /backends/python.c | |
parent | 17551fe56c8dc20630811b1726559b00cb911abd (diff) | |
download | midimonster-979ca16917cfca16b42f6f0464ff6c5cd41473b1.tar.gz midimonster-979ca16917cfca16b42f6f0464ff6c5cd41473b1.tar.bz2 midimonster-979ca16917cfca16b42f6f0464ff6c5cd41473b1.zip |
Improve windows build
Diffstat (limited to 'backends/python.c')
-rw-r--r-- | backends/python.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/python.c b/backends/python.c index c1a21be..9c0caa1 100644 --- a/backends/python.c +++ b/backends/python.c @@ -1,6 +1,10 @@ #define BACKEND_NAME "python" //#define DEBUG +#ifdef _WIN32 + #include <direct.h> +#endif + #define PY_SSIZE_T_CLEAN #include <string.h> #include <Python.h> |