[Python-checkins] r86729 - python/branches/py3k/Modules/posixmodule.c

brian.curtin python-checkins at python.org
Wed Nov 24 14:23:18 CET 2010


Author: brian.curtin
Date: Wed Nov 24 14:23:18 2010
New Revision: 86729

Log:
ifdef a Windows specific section.


Modified:
   python/branches/py3k/Modules/posixmodule.c

Modified: python/branches/py3k/Modules/posixmodule.c
==============================================================================
--- python/branches/py3k/Modules/posixmodule.c	(original)
+++ python/branches/py3k/Modules/posixmodule.c	Wed Nov 24 14:23:18 2010
@@ -437,6 +437,7 @@
 #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 @@
 
     return 1;
 }
+#endif /* MS_WINDOWS */
 
 /* Return a dictionary corresponding to the POSIX environment table */
 #ifdef WITH_NEXT_FRAMEWORK


More information about the Python-checkins mailing list