From a3e50eacca4d3fbc70561d39b9f47e199eb4c87f Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 13 Apr 2014 06:55:24 +0300 Subject: [PATCH] py: Move sys attribute qstrs's to core. --- py/qstrdefs.h | 7 +++++++ unix/qstrdefsport.h | 4 ---- 2 files changed, 7 insertions(+), 4 deletions(-) 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)