git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
timer: convert stored messages to UTF-8 when loading
[enigma2.git]
/
lib
/
python
/
python.cpp
diff --git
a/lib/python/python.cpp
b/lib/python/python.cpp
index f467bc86dc7d1a63a4827e72d38c4e5901a7f715..4ca77ab2f6bf88825d5f62a79b2e5463646bf885 100644
(file)
--- a/
lib/python/python.cpp
+++ b/
lib/python/python.cpp
@@
-1,5
+1,8
@@
#include <lib/python/python.h>
#include <lib/base/eerror.h>
#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();
#include <Python.h>
extern "C" void init_enigma();
@@
-56,6
+59,8
@@
ePyObject &ePyObject::operator=(void *object)
ePython::ePython()
{
ePython::ePython()
{
+// Py_VerboseFlag = 1;
+
Py_Initialize();
init_enigma();
Py_Initialize();
init_enigma();