git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e29936f
)
workaround redefinition of _POSIX_C_SOURCE by pyconfig.h
author
Andreas Oberritter
<obi@opendreambox.org>
Wed, 18 Jan 2006 01:05:47 +0000
(
01:05
+0000)
committer
Andreas Oberritter
<obi@opendreambox.org>
Wed, 18 Jan 2006 01:05:47 +0000
(
01:05
+0000)
lib/python/python.cpp
patch
|
blob
|
history
diff --git
a/lib/python/python.cpp
b/lib/python/python.cpp
index f467bc86dc7d1a63a4827e72d38c4e5901a7f715..2d84287baefe3195fac2bb6292f9b13ee368fb10 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>
+ /* avoid warnigs :) */
+#undef _POSIX_C_SOURCE
+#define _POSIX_C_SOURCE 200112L
#include <Python.h>
extern "C" void init_enigma();