Skip to content

Commit 60f1570

Browse files
authored
Try fixing Cygwin build (#20830)
This should hopefully help with mypyc/librt#33. I don't have a way to test this, but intuitively this should work.
1 parent 9b94724 commit 60f1570

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

mypyc/lib-rt/base64/librt_base64.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#define PY_SSIZE_T_CLEAN
22
#include <Python.h>
33
#include <stdbool.h>
4+
5+
#define BASE64_EXPORTS
6+
47
#include "librt_base64.h"
58
#include "libbase64.h"
69
#include "pythoncapi_compat.h"

0 commit comments

Comments
 (0)