[OpenWalnut-Dev] compatibility with newer version of biosig
Sebastian Eichelbaum
eichelbaum at informatik.uni-leipzig.de
Thu Nov 29 15:12:20 CET 2012
Hi
Thank you very much for your contribution. I have applied your patch to the current development version. Additionally, I fixed the style of the code to comply to our standards (added spaces around "hd").
Thank you once again.
Sebastian
On Thu, 29 Nov 2012, Alois Schloegl wrote:
>
> For compatibility with newer versions of libbiosig, I suggest to add the
> following patch.
>
> Alois
>
>
>
>
> diff -r 5b200056286b src/modules/data/io/WReaderBiosig.cpp
> --- a/src/modules/data/io/WReaderBiosig.cpp Wed Nov 28 14:36:39 2012 +0100
> +++ b/src/modules/data/io/WReaderBiosig.cpp Thu Nov 29 11:04:05 2012 +0100
> @@ -76,7 +76,11 @@
>
> hd = sopen( m_fname.c_str(), "r", 0 );
>
> +#if (BIOSIG_VERSION >= 10400)
> + switch( serror2(hd) )
> +#else
> switch( B4C_ERRNUM )
> +#endif
> {
> case B4C_NO_ERROR:
> break;
> _______________________________________________
> OpenWalnut-Dev mailing list
> OpenWalnut-Dev at lists.informatik.uni-leipzig.de
> http://lists.informatik.uni-leipzig.de/mailman/listinfo/openwalnut-dev
>
> Archive: http://lists.informatik.uni-leipzig.de/pipermail/openwalnut-dev/
>
--
Dipl.-Inf. Sebastian Eichelbaum
Universität Leipzig
Institut für Informatik
Abteilung Bild- und Signalverarbeitung
PF 100920
D-04009 Leipzig
More information about the OpenWalnut-Dev
mailing list