Author: bugman Date: Mon Oct 15 15:01:36 2012 New Revision: 17808 URL: http://svn.gna.org/viewcvs/relax?rev=17808&view=rev Log: Added support for Python 2.2 and earlier for the compilation of the C modules. Modified: trunk/maths_fns/relax_fit.c trunk/maths_fns/relax_fit.h Modified: trunk/maths_fns/relax_fit.c URL: http://svn.gna.org/viewcvs/relax/trunk/maths_fns/relax_fit.c?rev=17808&r1=17807&r2=17808&view=diff ============================================================================== --- trunk/maths_fns/relax_fit.c (original) +++ trunk/maths_fns/relax_fit.c Mon Oct 15 15:01:36 2012 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2011 Edward d'Auvergne + * Copyright (C) 2006-2012 Edward d'Auvergne * * This file is part of the program relax (http://www.nmr-relax.com). * Modified: trunk/maths_fns/relax_fit.h URL: http://svn.gna.org/viewcvs/relax/trunk/maths_fns/relax_fit.h?rev=17808&r1=17807&r2=17808&view=diff ============================================================================== --- trunk/maths_fns/relax_fit.h (original) +++ trunk/maths_fns/relax_fit.h Mon Oct 15 15:01:36 2012 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006 Edward d'Auvergne + * Copyright (C) 2006-2012 Edward d'Auvergne * * This file is part of the program relax (http://www.nmr-relax.com). * @@ -24,6 +24,11 @@ /* The maximum number of spectral time points */ #define MAXTIMES 30 +/* Python 2.2 and earlier support for Python C modules */ +#ifndef PyMODINIT_FUNC +#define PyMODINIT_FUNC void +#endif + /****************************************/ /* External, hence permanent, variables */