summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-11-24 13:23:18 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-11-24 13:23:18 (GMT)
commitfc1be6d807d0f66d57345ffdb2f3fe5c1b4f9729 (patch)
tree974f66b000873bbde77e5fa3505e00c2d6cc43c8 /Modules/posixmodule.c
parentf5e76d01eabe1f8c1e37ce93e5702d8e1cc3551f (diff)
downloadcpython-fc1be6d807d0f66d57345ffdb2f3fe5c1b4f9729.zip
cpython-fc1be6d807d0f66d57345ffdb2f3fe5c1b4f9729.tar.gz
cpython-fc1be6d807d0f66d57345ffdb2f3fe5c1b4f9729.tar.bz2
ifdef a Windows specific section.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 929436d..cba8a9d 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -437,6 +437,7 @@ _PyVerify_fd_dup2(int fd1, int fd2)
#define _PyVerify_fd_dup2(A, B) (1)
#endif
+#ifdef MS_WINDOWS
/* The following structure was copied from
http://msdn.microsoft.com/en-us/library/ms791514.aspx as the required
include doesn't seem to be present in the Windows SDK (at least as included
@@ -526,6 +527,7 @@ _Py_ReadLink(HANDLE reparse_point_handle, ULONG *reparse_tag, wchar_t **target_p
return 1;
}
+#endif /* MS_WINDOWS */
/* Return a dictionary corresponding to the POSIX environment table */
#ifdef WITH_NEXT_FRAMEWORK