[pypy-svn] r69122 - pypy/trunk/pypy/translator/c/src

pedronis at codespeak.net pedronis at codespeak.net
Tue Nov 10 16:35:12 CET 2009


Author: pedronis
Date: Tue Nov 10 16:35:12 2009
New Revision: 69122

Modified:
   pypy/trunk/pypy/translator/c/src/debug.h
Log:
detect linux



Modified: pypy/trunk/pypy/translator/c/src/debug.h
==============================================================================
--- pypy/trunk/pypy/translator/c/src/debug.h	(original)
+++ pypy/trunk/pypy/translator/c/src/debug.h	Tue Nov 10 16:35:12 2009
@@ -45,7 +45,7 @@
 #ifndef PYPY_NOT_MAIN_FILE
 #include <string.h>
 
-#if defined(__GNUC__) && !defined(WIN32)
+#if defined(__GNUC__) && defined(__linux__)
 # include <sched.h>
   static void pypy_setup_profiling()
   {



More information about the Pypy-commit mailing list