summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorstijn <stinos@zoho.com>2014-09-01 10:16:07 +0200
committerstijn <stinos@zoho.com>2014-09-02 09:00:20 +0200
commit759138caee65a58ecf1f02ca7c57bc9ba3d3c5f5 (patch)
treecb55e2658c6e87458c79c3e0161d3ffe2cb8f058 /windows
parent90fad65d2fb2695e1941296a6a55c175982299f2 (diff)
msvc: Exclude modtermios, include extmod and fix compilation error
Diffstat (limited to 'windows')
-rw-r--r--windows/mpconfigport.h2
-rw-r--r--windows/msvc/sources.props3
2 files changed, 4 insertions, 1 deletions
diff --git a/windows/mpconfigport.h b/windows/mpconfigport.h
index c5def7592..852ca3f5f 100644
--- a/windows/mpconfigport.h
+++ b/windows/mpconfigport.h
@@ -54,6 +54,8 @@
#define MICROPY_PY_CMATH (1)
#define MICROPY_PY_IO_FILEIO (1)
#define MICROPY_PY_GC_COLLECT_RETVAL (1)
+#define MICROPY_PY_UCTYPES (1)
+#define MICROPY_PY_ZLIBD (1)
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_DETAILED)
#ifdef _MSC_VER
#define MICROPY_GCREGS_SETJMP (1)
diff --git a/windows/msvc/sources.props b/windows/msvc/sources.props
index 6fd3306b9..b48277ff2 100644
--- a/windows/msvc/sources.props
+++ b/windows/msvc/sources.props
@@ -5,7 +5,8 @@
</PropertyGroup>
<ItemGroup>
<ClCompile Include="$(PyBaseDir)py\*.c" />
- <ClCompile Include="$(PyBaseDir)unix\*.c" Exclude="$(PyBaseDir)unix\modffi.c;$(PyBaseDir)unix\modsocket.c;$(PyBaseDir)unix\seg_helpers.c" />
+ <ClCompile Include="$(PyBaseDir)extmod\*.c" />
+ <ClCompile Include="$(PyBaseDir)unix\*.c" Exclude="$(PyBaseDir)unix\modffi.c;$(PyBaseDir)unix\modsocket.c;$(PyBaseDir)unix\modtermios.c;$(PyBaseDir)unix\seg_helpers.c" />
<ClCompile Include="$(PyBaseDir)windows\*.c" />
<ClCompile Include="$(PyBaseDir)windows\msvc\*.c" />
</ItemGroup>