diff --git a/py/qstrdefs.h b/py/qstrdefs.h index 7bd8dc653a..6075000166 100644 --- a/py/qstrdefs.h +++ b/py/qstrdefs.h @@ -269,3 +269,10 @@ Q(encode) Q(decode) Q(utf-8) #endif + +#if MICROPY_ENABLE_MOD_SYS +Q(argv) +Q(stdin) +Q(stdout) +Q(stderr) +#endif diff --git a/unix/qstrdefsport.h b/unix/qstrdefsport.h index a4772a2be9..42f20d2657 100644 --- a/unix/qstrdefsport.h +++ b/unix/qstrdefsport.h @@ -2,10 +2,6 @@ Q(Test) -Q(argv) -Q(stdin) -Q(stdout) -Q(stderr) Q(rawsocket) Q(socket) Q(sockaddr_in)