From: Andreas Oberritter Date: Wed, 18 Jan 2006 01:05:47 +0000 (+0000) Subject: workaround redefinition of _POSIX_C_SOURCE by pyconfig.h X-Git-Tag: 2.6.0~4394 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/8132b29596b975f3e1764862ea7aa5661a8cb5ed workaround redefinition of _POSIX_C_SOURCE by pyconfig.h --- 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 #include + /* avoid warnigs :) */ +#undef _POSIX_C_SOURCE +#define _POSIX_C_SOURCE 200112L #include extern "C" void init_enigma();