From: Martin Z. <co...@mz...> - 2010-01-19 11:16:35
|
Hi Michael, you're correct, "lcd4linux" does compile without python support. Also, if I replace // #ifndef HAVE_STRNDUP with #if ! defined HAVE_STRNDUP && ! defined Py_PYTHON_H "lcd4linux" compiles with python support. This does not really help, though, as "Python.h" simply includes "string.h" which then adds the definition for "strndup". Therefore, changing the above line to #if ! defined HAVE_STRNDUP && ! defined _STRING_H also works. And I rather guess that _STRING_H is defined on most systems... Martin -- www.mzuther.de www.radix-musik.de |