changeset 186:0bd782fd41dc

Fixed a possible compilation error introduced in the last changeset
author Oleg Oshmyan <chortos@inbox.lv>
date Tue, 26 Jul 2011 20:03:48 +0300
parents 9ed34ef740a1
children 6215dbc1fbb5
files upreckon/_unixmodule.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/upreckon/_unixmodule.cpp	Tue Jul 26 19:50:42 2011 +0300
+++ b/upreckon/_unixmodule.cpp	Tue Jul 26 20:03:48 2011 +0300
@@ -1413,8 +1413,10 @@
 #endif
 	if (module == NULL)
 	{
+#ifdef USE_WAKEUP_FD
 		close(intpipe[0]);
 		close(intpipe[1]);
+#endif
 		Py_DECREF(MemoryLimitExceeded);
 		Py_DECREF(CPUTimeLimitExceeded);
 		Py_DECREF(WallTimeLimitExceeded);