generic show/hide support for GUIComponents
[enigma2.git] / lib / python / python.cpp
index f467bc86dc7d1a63a4827e72d38c4e5901a7f715..4ca77ab2f6bf88825d5f62a79b2e5463646bf885 100644 (file)
@@ -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();
@@ -56,6 +59,8 @@ ePyObject &ePyObject::operator=(void *object)
 
 ePython::ePython()
 {
+//     Py_VerboseFlag = 1;
+       
        Py_Initialize();
        
        init_enigma();