10000 Fix a compiler error on Windows. · python/cpython@8520cfc · GitHub
[go: up one dir, main page]

Skip to content

Commit 8520cfc

Browse files
Fix a compiler error on Windows.
1 parent e777250 commit 8520cfc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Objects/typeobject.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,11 @@ managed_static_type_index_clear(PyTypeObject *self)
149149
}
150150

151151

152+
#ifdef MS_WINDOWS
153+
static pytype_slotdef slotdefs[100];
154+
#else
152155
static pytype_slotdef slotdefs[];
156+
#endif
153157
static void ** slotptr(PyTypeObject *, int);
154158

155159
typedef struct static_type_def *static_type_def;

0 commit comments

Comments
 (0)
0