[pypy-svn] r50589 - pypy/dist/pypy/translator/c/src

fijal at codespeak.net fijal at codespeak.net
Mon Jan 14 13:37:24 CET 2008


Author: fijal
Date: Mon Jan 14 13:37:24 2008
New Revision: 50589

Modified:
   pypy/dist/pypy/translator/c/src/signals.h
Log:
Allow multiple inclusion of signals.h


Modified: pypy/dist/pypy/translator/c/src/signals.h
==============================================================================
--- pypy/dist/pypy/translator/c/src/signals.h	(original)
+++ pypy/dist/pypy/translator/c/src/signals.h	Mon Jan 14 13:37:24 2008
@@ -1,6 +1,9 @@
 
 /* some ifdefs from CPython's signalmodule.c... */
 
+#ifndef _PYPY_SIGNALS_H
+#define _PYPY_SIGNALS_H
+
 #include <stdlib.h>
 
 #ifdef MS_WINDOWS
@@ -121,3 +124,5 @@
 }
 
 #endif
+
+#endif



More information about the Pypy-commit mailing list