Skip to content

Commit

Permalink
Fix a compiler error on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsnowcurrently committed Jul 11, 2024
1 parent e777250 commit 8520cfc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Objects/typeobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,11 @@ managed_static_type_index_clear(PyTypeObject *self)
}


#ifdef MS_WINDOWS
static pytype_slotdef slotdefs[100];
#else
static pytype_slotdef slotdefs[];
#endif
static void ** slotptr(PyTypeObject *, int);

typedef struct static_type_def *static_type_def;
Expand Down

0 comments on commit 8520cfc

Please sign in to comment.