projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5e76d0
)
ifdef a Windows specific section.
author
Brian Curtin
<brian.curtin@gmail.com>
Wed, 24 Nov 2010 13:23:18 +0000
(13:23 +0000)
committer
Brian Curtin
<brian.curtin@gmail.com>
Wed, 24 Nov 2010 13:23:18 +0000
(13:23 +0000)
Modules/posixmodule.c
patch
|
blob
|
history
diff --git
a/Modules/posixmodule.c
b/Modules/posixmodule.c
index 929436db6e0895a71134b940171570417b0f5ddd..cba8a9dcafcdbb33d24945ea106569d619ce2965 100644
(file)
--- 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