Skip to content

Commit 73c98d8

Browse files
committed
py: Fix static defn in qstr; include mpconfigport.h with "" (not <>).
1 parent 0c0f446 commit 73c98d8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

py/mpconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// You can override any of these options using mpconfigport.h file located
2929
// in a directory of your port.
3030

31-
#include <mpconfigport.h>
31+
#include "mpconfigport.h"
3232

3333
// Any options not explicitly set in mpconfigport.h will get default
3434
// values below.

py/qstr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ typedef struct _qstr_pool_t {
7777
const byte *qstrs[];
7878
} qstr_pool_t;
7979

80-
const static qstr_pool_t const_pool = {
80+
STATIC const qstr_pool_t const_pool = {
8181
NULL, // no previous pool
8282
0, // no previous pool
8383
10, // set so that the first dynamically allocated pool is twice this size; must be <= the len (just below)

0 commit comments

Comments
 (0)