Author: bugman Date: Mon Oct 15 15:02:19 2012 New Revision: 17809 URL: http://svn.gna.org/viewcvs/relax?rev=17809&view=rev Log: Merged revisions 17808 via svnmerge from svn+ssh://bugman@xxxxxxxxxxx/svn/relax/trunk ........ r17808 | bugman | 2012-10-15 15:01:36 +0200 (Mon, 15 Oct 2012) | 3 lines Added support for Python 2.2 and earlier for the compilation of the C modules. ........ Modified: branches/cst/ (props changed) branches/cst/maths_fns/relax_fit.c branches/cst/maths_fns/relax_fit.h Propchange: branches/cst/ ------------------------------------------------------------------------------ --- svnmerge-integrated (original) +++ svnmerge-integrated Mon Oct 15 15:02:19 2012 @@ -1,1 +1,1 @@ -/trunk:1-17806 +/trunk:1-17808 Modified: branches/cst/maths_fns/relax_fit.c URL: http://svn.gna.org/viewcvs/relax/branches/cst/maths_fns/relax_fit.c?rev=17809&r1=17808&r2=17809&view=diff ============================================================================== --- branches/cst/maths_fns/relax_fit.c (original) +++ branches/cst/maths_fns/relax_fit.c Mon Oct 15 15:02:19 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: branches/cst/maths_fns/relax_fit.h URL: http://svn.gna.org/viewcvs/relax/branches/cst/maths_fns/relax_fit.h?rev=17809&r1=17808&r2=17809&view=diff ============================================================================== --- branches/cst/maths_fns/relax_fit.h (original) +++ branches/cst/maths_fns/relax_fit.h Mon Oct 15 15:02:19 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 */