From aa312b9201298473d40b5a23e38a4500798c4242 Mon Sep 17 00:00:00 2001 From: Marco Cattaneo <marco.cattaneo@cern.ch> Date: Mon, 20 Jan 2020 14:34:23 +0100 Subject: [PATCH] Fix warnings about redefined _XOPEN_SOURCE and _POSIX_C_SOURCE macros --- Phys/LoKiAlgo/LoKi/AlgoDecorator.h | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Phys/LoKiAlgo/LoKi/AlgoDecorator.h b/Phys/LoKiAlgo/LoKi/AlgoDecorator.h index 667f4b3d0..bde4f9fa6 100755 --- a/Phys/LoKiAlgo/LoKi/AlgoDecorator.h +++ b/Phys/LoKiAlgo/LoKi/AlgoDecorator.h @@ -1,4 +1,3 @@ -// $Id$ // ============================================================================ #ifndef LOKI_ALGODECORATOR_H #define LOKI_ALGODECORATOR_H 1 @@ -7,6 +6,14 @@ // ============================================================================ // GaudiPython // ============================================================================ +#ifdef _POSIX_C_SOURCE +#undef _POSIX_C_SOURCE +#endif + +#ifdef _XOPEN_SOURCE +#undef _XOPEN_SOURCE +#endif + #include "GaudiPython/Algorithm.h" // ============================================================================ // LoKi @@ -22,14 +29,6 @@ * Galina PAKHLOVA and Sergey BARSUK. Many bright ideas, * contributions and advices from G.Raven, J.van Tilburg, * A.Golutvin, P.Koppenburg have been used in the design. - * - * By usage of this code one clearly states the disagreement - * with the smear campaign of Dr.O.Callot et al.: - * ``No Vanya's lines are allowed in LHCb/Gaudi software.'' - * - * $Revision$ - * Last modification $Date$ - * by $Author$ */ // ============================================================================ namespace LoKi -- GitLab