Fix compilation on Windows.
This commit is contained in:
parent
4c52f52ef3
commit
b436a24eed
|
@ -1519,11 +1519,12 @@ batch_list(Picklerobject *self, PyObject *iter)
|
|||
PyObject *obj;
|
||||
PyObject *slice[BATCHSIZE];
|
||||
int i, n;
|
||||
self->nesting++;
|
||||
|
||||
static char append = APPEND;
|
||||
static char appends = APPENDS;
|
||||
|
||||
self->nesting++;
|
||||
|
||||
assert(iter != NULL);
|
||||
|
||||
if (self->proto == 0) {
|
||||
|
@ -1659,11 +1660,12 @@ batch_dict(Picklerobject *self, PyObject *iter)
|
|||
PyObject *p;
|
||||
PyObject *slice[BATCHSIZE];
|
||||
int i, n;
|
||||
self->nesting++;
|
||||
|
||||
static char setitem = SETITEM;
|
||||
static char setitems = SETITEMS;
|
||||
|
||||
self->nesting++;
|
||||
|
||||
assert(iter != NULL);
|
||||
|
||||
if (self->proto == 0) {
|
||||
|
|
Loading…
Reference in New Issue