diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2006-01-18 01:05:47 +0000 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2006-01-18 01:05:47 +0000 |
| commit | 8132b29596b975f3e1764862ea7aa5661a8cb5ed (patch) | |
| tree | fbb361696c4fb3e485d552baf8d7b29bd749d1ff /lib/python/python.cpp | |
| parent | e29936f1f981e83c4cdfb380d065c367113c01d7 (diff) | |
| download | enigma2-8132b29596b975f3e1764862ea7aa5661a8cb5ed.tar.gz enigma2-8132b29596b975f3e1764862ea7aa5661a8cb5ed.zip | |
workaround redefinition of _POSIX_C_SOURCE by pyconfig.h
Diffstat (limited to 'lib/python/python.cpp')
| -rw-r--r-- | lib/python/python.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/python.cpp b/lib/python/python.cpp index f467bc86..2d84287b 100644 --- a/lib/python/python.cpp +++ b/lib/python/python.cpp @@ -1,5 +1,8 @@ #include <lib/python/python.h> #include <lib/base/eerror.h> + /* avoid warnigs :) */ +#undef _POSIX_C_SOURCE +#define _POSIX_C_SOURCE 200112L #include <Python.h> extern "C" void init_enigma(); |
