From 8132b29596b975f3e1764862ea7aa5661a8cb5ed Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Wed, 18 Jan 2006 01:05:47 +0000 Subject: [PATCH 1/1] workaround redefinition of _POSIX_C_SOURCE by pyconfig.h --- lib/python/python.cpp | 3 +++ 1 file changed, 3 insertions(+) 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(); -- 2.30.2