[pypy-svn] r14410 - pypy/dist/pypy/translator/c

arigo at codespeak.net arigo at codespeak.net
Thu Jul 7 21:16:26 CEST 2005


Author: arigo
Date: Thu Jul  7 21:16:24 2005
New Revision: 14410

Modified:
   pypy/dist/pypy/translator/c/extfunc_include.h
Log:
Oups.  Can't include this file if there is no RTyper (as in some tests).


Modified: pypy/dist/pypy/translator/c/extfunc_include.h
==============================================================================
--- pypy/dist/pypy/translator/c/extfunc_include.h	(original)
+++ pypy/dist/pypy/translator/c/extfunc_include.h	Thu Jul  7 21:16:24 2005
@@ -1,6 +1,11 @@
 /************************************************************/
  /***  C header subsection: external functions             ***/
 
+/******************************************************************/
+#ifdef RPyString        /* not defined if we don't have an RTyper */
+/******************************************************************/
+
+
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
@@ -37,3 +42,8 @@
 {
 	return ((double) clock()) / CLOCKS_PER_SEC;
 }
+
+
+/******************************************************************/
+#endif                                               /* RPyString */
+/******************************************************************/



More information about the Pypy-commit mailing list