[pypy-svn] r14414 - pypy/dist/pypy/translator/c
tismer at codespeak.net
tismer at codespeak.net
Thu Jul 7 22:45:37 CEST 2005
Author: tismer
Date: Thu Jul 7 22:45:37 2005
New Revision: 14414
Modified:
pypy/dist/pypy/translator/c/extfunc_include.h
Log:
hack to support windows
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 22:45:37 2005
@@ -10,6 +10,10 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <time.h>
+#ifndef PATH_MAX
+ /* assume windows */
+ #define PATH_MAX 254
+#endif
/* The functions below are mapped to functions from pypy.rpython.extfunctable
by the pypy.translator.c.fixedname.EXTERNALS dictionary. */
More information about the Pypy-commit
mailing list