aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2006-01-18 01:05:47 +0000
committerAndreas Oberritter <obi@opendreambox.org>2006-01-18 01:05:47 +0000
commit8132b29596b975f3e1764862ea7aa5661a8cb5ed (patch)
treefbb361696c4fb3e485d552baf8d7b29bd749d1ff /lib
parente29936f1f981e83c4cdfb380d065c367113c01d7 (diff)
downloadenigma2-8132b29596b975f3e1764862ea7aa5661a8cb5ed.tar.gz
enigma2-8132b29596b975f3e1764862ea7aa5661a8cb5ed.zip
workaround redefinition of _POSIX_C_SOURCE by pyconfig.h
Diffstat (limited to 'lib')
-rw-r--r--lib/python/python.cpp3
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();